2006-02-06 00:29:49 +01:00
|
|
|
GIT URLS[[URLS]]
|
|
|
|
----------------
|
|
|
|
|
2006-02-05 23:43:47 +01:00
|
|
|
One of the following notations can be used
|
|
|
|
to name the remote repository:
|
2006-02-06 00:29:49 +01:00
|
|
|
|
2006-02-05 23:43:47 +01:00
|
|
|
===============================================================
|
|
|
|
- rsync://host.xz/path/to/repo.git/
|
|
|
|
- http://host.xz/path/to/repo.git/
|
|
|
|
- https://host.xz/path/to/repo.git/
|
|
|
|
- git://host.xz/path/to/repo.git/
|
|
|
|
- git://host.xz/~user/path/to/repo.git/
|
2006-07-15 01:36:00 +02:00
|
|
|
- ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
|
|
|
|
- ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/
|
|
|
|
- ssh://{startsb}user@{endsb}host.xz/~/path/to/repo.git
|
2006-02-05 23:43:47 +01:00
|
|
|
===============================================================
|
2006-02-06 00:29:49 +01:00
|
|
|
|
2006-07-15 01:36:00 +02:00
|
|
|
SSH is the default transport protocol. You can optionally specify
|
|
|
|
which user to log-in as, and an alternate, scp-like syntax is also
|
|
|
|
supported. Both syntaxes support username expansion,
|
2006-02-05 23:43:47 +01:00
|
|
|
as does the native git protocol. The following three are
|
|
|
|
identical to the last three above, respectively:
|
2006-02-06 00:29:49 +01:00
|
|
|
|
2006-02-05 23:43:47 +01:00
|
|
|
===============================================================
|
2006-07-15 01:36:00 +02:00
|
|
|
- {startsb}user@{endsb}host.xz:/path/to/repo.git/
|
|
|
|
- {startsb}user@{endsb}host.xz:~user/path/to/repo.git/
|
|
|
|
- {startsb}user@{endsb}host.xz:path/to/repo.git
|
2006-02-05 23:43:47 +01:00
|
|
|
===============================================================
|
2006-02-06 00:29:49 +01:00
|
|
|
|
2006-02-05 23:43:47 +01:00
|
|
|
To sync with a local directory, use:
|
2006-02-06 00:29:49 +01:00
|
|
|
|
2006-02-05 23:43:47 +01:00
|
|
|
===============================================================
|
|
|
|
- /path/to/repo.git/
|
|
|
|
===============================================================
|