-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6512 from sbidoul/git-ref-doc
docs: mention installing from git refs
- Loading branch information
Showing
2 changed files
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -392,11 +392,12 @@ Here are the supported forms:: | |
[-e] git+file:///home/user/projects/MyProject#egg=MyProject | ||
-e [email protected]:MyProject#egg=MyProject | ||
|
||
Passing branch names, a commit hash or a tag name is possible like so:: | ||
Passing a branch name, a commit hash, a tag name or a git ref is possible like so:: | ||
|
||
[-e] git://git.example.com/MyProject.git@master#egg=MyProject | ||
[-e] git://git.example.com/[email protected]#egg=MyProject | ||
[-e] git://git.example.com/MyProject.git@da39a3ee5e6b4b0d3255bfef95601890afd80709#egg=MyProject | ||
[-e] git://git.example.com/MyProject.git@refs/pull/123/head#egg=MyProject | ||
|
||
When passing a commit hash, specifying a full hash is preferable to a partial | ||
hash because a full hash allows pip to operate more efficiently (e.g. by | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Mention that pip can install from git refs. |