Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket not showing the branches online

sdnbucket July 13, 2020

Hi, following the Atlassian tutorial 

 

https://www.atlassian.com/git/tutorials/learn-git-with-bitbucket-cloud

 

after I create a local branch I can never see it in the online branches, when I click on master or branches all I ever see is the main branch. I can checkout my branch locally I the command line, its just never in the remote repo online.

1 answer

1 accepted

4 votes
Answer accepted
sdnbucket July 13, 2020

I found this which helped enormously:

https://bitbucket.org/product/guides/basics/four-starting-steps?tab=2#step-3-basic-branching-with-bitbucket

 

From the CLI, within your local repository directory

  1. Create a branch using the Git branch command. git branch <branch name>
  2. List the branches for this repository. You’ll see the default branch master, and the new branch you created. git branch
  3. Check out the branch.git checkout <branch name>

  4. Push the new branch to Bitbucket. git push --set-upstream origin <branch name>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events