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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Not able to see all branch of git repo in the bitbucket

Hi,

I created a bitbucket account and add a repo in it. I created one branch by source tree. Newly created branch is not available in the bitbucket source tab.

 

Please look into it.

 

Thanks,

Lokesh

3 answers

git fetch && git checkout <feature branch>

Have you committed the changes in source tree and pushed back to Bitbucket?

Yes I committed and pushed new branch to the remote by sourcetree. But How can i pushed backto Bitbucket ?

Lokesh, you have to push your new branch to the remote. Did you do that yet?

Yes I pushed new branch to the remote by sourcetree. But the question was how can i sync all branch in bitbucket ?

What do you mean by sync a branch?

Also, are you saying that the branch is not in remote even after you pushed it? If so, how did you push the branch from sourcetree?

Jabin,

The branch are on remote. And i pushed it by sourcetree but i can not see in my bitbucket account.

Why do you think the branch is in remote when it is not in the account? Is this Bitbucket Cloud or server? Maybe you can add some screenshots here!

I did following steps:

1.  I have a Repository on Git.

2. Create a account on bitbucket and Import repository.

Capture.PNG

Suppose I import a repository on 6th Feb and i got all branches which are created till 10 Feb. 

If i create new branch  after 6th feb on Git but source tree and push it on Git. 

So the newly created branch not visible in bitbucket account.

Capture.PNG

Click on the repository and check if you have the new branch listed under the "branches" dropdown.

Well, that confirms that the branch is not in remote yet. How did you push the branch from sourcetree?

Just create a new branch and push by clicking on push btn in the sourcetree.

Hmm, not sure what went wrong. Did you check out the new branch and pushed that one? You can see some screenshots at https://confluence.atlassian.com/get-started-with-sourcetree/create-and-push-a-branch-to-the-remote-repository-git-847359118.html.

I created a new one and pushed with the same steps even after i didn't get the latest branch in bitbucket.

 

Please do a needful.

 

Thanks,

Lokesh

Could you provide a screenshot of the branches tab within the repository itself.

It may help with understanding where your issue is.

I did following steps:

1.  I have a Repository on Git.

2. Create a account on bitbucket and Import repository.

Capture.PNG

Suppose I import a repository on 6th Feb and i got all branches which are created till 10 Feb. 

If i create new branch  after 6th feb on Git but source tree and push it on Git. 

So the newly created branch not visible in bitbucket account.

Capture.PNG

So when you select the repository in bitbucket, you should see a list of options, one of which is the branch list.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,111 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you