Skip to content

Commit a3cfb7f

Browse files
Michael J Grubergitster
authored andcommitted
Documentation/urls: Remove spurious example markers
In urls.txt (which is included from git-{clone,fetch,push}.txt) several item lists are surrounded by example block markers. This is problematic for two reasons: - None of these lists are example lists, so they should not be marked as such semantically. - The html output looks weird (bulleted list with left sidebar). Therefore, remove the example block markers. Output by the man backend is unaffected. Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent dddfb3f commit a3cfb7f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Documentation/urls.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ GIT URLS[[URLS]]
44
One of the following notations can be used
55
to name the remote repository:
66

7-
===============================================================
87
- rsync://host.xz/path/to/repo.git/
98
- http://host.xz{startsb}:port{endsb}/path/to/repo.git/
109
- https://host.xz{startsb}:port{endsb}/path/to/repo.git/
@@ -14,7 +13,6 @@ to name the remote repository:
1413
- ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
1514
- ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/
1615
- ssh://{startsb}user@{endsb}host.xz/~/path/to/repo.git
17-
===============================================================
1816

1917
SSH is the default transport protocol over the network. You can
2018
optionally specify which user to log-in as, and an alternate,
@@ -23,18 +21,14 @@ username expansion, as does the native git protocol, but
2321
only the former supports port specification. The following
2422
three are identical to the last three above, respectively:
2523

26-
===============================================================
2724
- {startsb}user@{endsb}host.xz:/path/to/repo.git/
2825
- {startsb}user@{endsb}host.xz:~user/path/to/repo.git/
2926
- {startsb}user@{endsb}host.xz:path/to/repo.git
30-
===============================================================
3127

3228
To sync with a local directory, you can use:
3329

34-
===============================================================
3530
- /path/to/repo.git/
3631
- file:///path/to/repo.git/
37-
===============================================================
3832

3933
ifndef::git-clone[]
4034
They are mostly equivalent, except when cloning. See

0 commit comments

Comments
 (0)