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:

  • Apply multiple filters for same files in git
  • two git branches define functions at the end of a file; how can I prevent git from trying to combine them (which creates a conflict)?
  • git update-ref appears to do nothing
  • How to sort git tags by version string order of form rc-X.Y.Z.W?
  • Git: Only push private config file to test repository and not to github?
  • git commit the wrong filename first letter uppercase
  • ubuntu@ubuntu:/usr/service/myproject/venv/src/myproject$ git branch
    * (no branch)

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

  • Git - Get file blob by tree location not by sha
  • Set up a default directory structure on git init
  • Gitweb failure: fatal: missing object 0000000000000000000000000000000000000000 for refs/heads/master
  • Git auto-pull using cronjob
  • “Bad Credentials” when attempting to create a GitHub repo through the CLI using curl
  • Git: Is checking out a branch while visual studio open bad practice?
  • Git Baby is a git and github fan, let's start git clone.