diff options
author | Simon Pichugin <simon.pichugin@gmail.com> | 2016-11-03 23:39:01 +0100 |
---|---|---|
committer | Donald Stufft <donald@stufft.io> | 2016-11-03 18:39:01 -0400 |
commit | 41dd63880356b16d73c0e6d3dd564e2a02e2f65f (patch) | |
tree | 15b39137f803ab7cc973ee6f0c8be54932342136 | |
parent | 47c3dd5d0f52aba84b196926a54e8a26c4d5a1cc (diff) | |
download | pip-41dd63880356b16d73c0e6d3dd564e2a02e2f65f.tar.gz |
Add all currently supported git clone forms to docs (#4072)
-rw-r--r-- | docs/reference/pip_install.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/reference/pip_install.rst b/docs/reference/pip_install.rst index 3b4c27cbe..19244474e 100644 --- a/docs/reference/pip_install.rst +++ b/docs/reference/pip_install.rst @@ -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:: |