urls.txt: document optional port specification in git URLS
Signed-off-by: Stefan Naewe <stefan.naewe+git@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Naewe committed
Feb 4, 2009 at 21:49 UTC
f26b5dc9efccc998510505685d6d919b4dd087e7
1 file changed
+4
-4
Documentation/urls.txt
+4
-4
@@ -6,10 +6,10 @@ to name the remote repository:
6
7
===============================================================
8
- 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/
13
- ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/
14
- ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
15
- ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/