Add all currently supported git clone forms to docs (#4072)

This commit is contained in:
Simon Pichugin 2016-11-03 23:39:01 +01:00 committed by Donald Stufft
parent 47c3dd5d0f
commit 41dd638803
1 changed files with 6 additions and 2 deletions

View File

@ -352,13 +352,17 @@ You'll need to use ``pip install -e vcs+protocol://repo_url/#egg=pkg&subdirector
Git
~~~
pip currently supports cloning over ``git``, ``git+https`` and ``git+ssh``:
pip currently supports cloning over ``git``, ``git+http``, ``git+https``,
``git+ssh``, ``git+git`` and ``git+file``:
Here are the supported forms::
[-e] git+git://git.myproject.org/MyProject#egg=MyProject
[-e] git://git.myproject.org/MyProject#egg=MyProject
[-e] git+http://git.myproject.org/MyProject#egg=MyProject
[-e] git+https://git.myproject.org/MyProject#egg=MyProject
[-e] git+ssh://git.myproject.org/MyProject#egg=MyProject
[-e] git+git://git.myproject.org/MyProject#egg=MyProject
[-e] git+file://git.myproject.org/MyProject#egg=MyProject
-e git+git@git.myproject.org:MyProject#egg=MyProject
Passing branch names, a commit hash or a tag name is possible like so::