Pip install doesn't checkout correct branch

Here is the command I am running from puppet:

venv/bin/pip install -e git+https://blablabla.com/git/myproject.git@develop#egg=myproject

Which should install the develop branch. Instead it installs no branch. When I go to venv/src/myproject and do git branch I see:

  • How to disable compression in git server side?
  • Git branch another branch from current branch
  • Getting Git-concept of “stage”
  • Ensure coding-style during a git commit
  • Cloning git repo causes error - Host key verification failed. fatal: The remote end hung up unexpectedly
  • On Gitbash - Bower : ENOGIT git is not installed or not in the PATH
  • ubuntu@ubuntu:/usr/service/myproject/venv/src/myproject$ git branch
    * (no branch)

    I am using Ubuntu 12.04 LTS. What could be the problem?

  • Should xcworkspace be in gitignore
  • Line endings in git
  • Checkout the git commit corresponding to a certain revision from the old SVN repository?
  • “fatal: Not a git repository (or any of the parent directories)” from git status
  • Opscode Chef - way to cleanup /shared/cached-copy
  • how to implicitly `git push` from a local branch “X” to “origin/Y”
  • Git Baby is a git and github fan, let's start git clone.