Skip to the content.

Git URL

Git supports ssh, git, and http[s] protocols.

The following syntaxes may be used with them:

The native transport (i.e. git://URL) does no authentication and should be used with caution on unsecured networks.

An alternative scp-like syntax may also be used with the ssh protocol:

[user@]host:path/to/repo.git/

~ Expansion

The ssh and git protocols additionally support ~username expansion:

Local Repositories

For local repositories, also supported by Git natively, the following syntaxes may be used:

These two syntaxes are mostly equivalent, except the former implies --local option.