Documentation / urls.txton commit Improve description of git-branch -d and -D in man page. (1e72a40)
   1GIT 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/
  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/
  16- ssh://{startsb}user@{endsb}host.xz/~/path/to/repo.git
  17===============================================================
  18
  19SSH is the default transport protocol over the network.  You can
  20optionally specify which user to log-in as, and an alternate,
  21scp-like syntax is also supported.  Both syntaxes support
  22username expansion, as does the native git protocol, but
  23only the former supports port specification. The following
  24three are identical to the last three above, respectively:
  25
  26===============================================================
  27- {startsb}user@{endsb}host.xz:/path/to/repo.git/
  28- {startsb}user@{endsb}host.xz:~user/path/to/repo.git/
  29- {startsb}user@{endsb}host.xz:path/to/repo.git
  30===============================================================
  31
  32To sync with a local directory, you can use:
  33
  34===============================================================
  35- /path/to/repo.git/
  36- file:///path/to/repo.git/
  37===============================================================
  38
  39They are mostly equivalent, except when cloning.  See
  40gitlink:git-clone[1] for details.