I’m developing a django app and I’m using pip to manage my requirements. How can I do to install a specific git’s commit?
In my case I need to install this commit:
https://github.com/aladagemre/django-notification/commit/2927346f4c513a217ac8ad076e494dd1adbf70e1
You can specify commit hash, branch name, tag.
For the branch name and the tag, you can also install a compressed distribution. This is faster and more efficient, as it does not require cloning the entire repository. GitHub creates those bundles automatically.
hash:
branch-name
With git
or from source bundle
tag
with git
or from source bundle
It is a not well-documented feature, but you can find more information at https://pip.pypa.io/en/latest/topics/vcs-support/