Q: why pip install a git repo fails in this requirements file? When trying to install a git repo through pip, for example:
pip install git+https://github.com/kayluhb/django-admin-bootstrapped.git@cms-2.4

it just works. But then when putting that same line in a requirements file (if that matters this requirements file is called from another requirements file) then pip can't find the branch:
Could not find a tag or branch 'cms-2.4 '

What did I miss here? An argument like -e or something?
UPDATE:
I have tried another one without the '@' version:
git+http://github.com/jmoiron/johnny-cache.git

When I manually pip install it, it just works too. But then in the requirements file it fails with:
error: The requested URL returned error: 400 Bad request while accessing http://github.com/jmoiron/johnny-cache.git /info/refs?service=git-upload-pack
fatal: HTTP request failed
Command /usr/bin/git clone -q "http://github.com/jmoiron/johnny-cache.git " /tmp/pip-GE7AOI-build failed with error code 128 in None


A: Have you tried with git+git instead of git+https?
