Skip to content

Commit f26b5dc

Browse files
snaewegitster
authored andcommitted
urls.txt: document optional port specification in git URLS
Signed-off-by: Stefan Naewe <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 745bc77 commit f26b5dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/urls.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ to name the remote repository:
66

77
===============================================================
88
- rsync://host.xz/path/to/repo.git/
9-
- http://host.xz/path/to/repo.git/
10-
- https://host.xz/path/to/repo.git/
11-
- git://host.xz/path/to/repo.git/
12-
- git://host.xz/~user/path/to/repo.git/
9+
- http://host.xz{startsb}:port{endsb}/path/to/repo.git/
10+
- https://host.xz{startsb}:port{endsb}/path/to/repo.git/
11+
- git://host.xz{startsb}:port{endsb}/path/to/repo.git/
12+
- git://host.xz{startsb}:port{endsb}/~user/path/to/repo.git/
1313
- ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/
1414
- ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
1515
- ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/

0 commit comments

Comments
 (0)