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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,492
Community Members
 
Community Events
176
Community Groups

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

4 answers

git fetch && git checkout <feature branch>

For anyone else coming to this issue, I had to take the following steps to resolve this.

On the branch list on the left margin in SourceTree, find the branch you want to 'sync' and right click. Go to "Push To" and select origin. After doing this, it should appear on your BitBucket account. 

For whatever reason, simply pushing the branch from the main screen doesn't always work.

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.

0 votes

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 ?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events