gitbitbucket

Where can I create a branch in bitbucket?


I am looking at the repository branches and in the left bar I cannot find the create branch option? Where is this located or do I need to get permission for this?


Solution

  • You can follow the guide "Branching a Repository", but a simple workaround would be to create your branch in a local clone, then push it:

    cd /path/to/local/clone
    git checkout -b newBranch
    git push -u origin newBranch
    

    The reason you don't see it might be because you are looking at a BitBucket repo you do not own.