blob: 781df4174b7493eb905d0c87c73751bd4bc77b75 [file] [log] [blame]
Junio C Hamano40f2f8d2006-02-07 08:04:391GIT URLS[[URLS]]
2----------------
3
4One of the following notations can be used
5to 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/
Junio C Hamano7ccb9fd2006-07-15 01:38:4013- ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
14- ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/
15- ssh://{startsb}user@{endsb}host.xz/~/path/to/repo.git
Junio C Hamano40f2f8d2006-02-07 08:04:3916===============================================================
17
Junio C Hamano7ccb9fd2006-07-15 01:38:4018SSH is the default transport protocol. You can optionally specify
19which user to log-in as, and an alternate, scp-like syntax is also
20supported. Both syntaxes support username expansion,
Junio C Hamano40f2f8d2006-02-07 08:04:3921as does the native git protocol. The following three are
22identical to the last three above, respectively:
23
24===============================================================
Junio C Hamano7ccb9fd2006-07-15 01:38:4025- {startsb}user@{endsb}host.xz:/path/to/repo.git/
26- {startsb}user@{endsb}host.xz:~user/path/to/repo.git/
27- {startsb}user@{endsb}host.xz:path/to/repo.git
Junio C Hamano40f2f8d2006-02-07 08:04:3928===============================================================
29
30To sync with a local directory, use:
31
32===============================================================
33- /path/to/repo.git/
34===============================================================