branches not showing in bitbucket?

Hi,

When I m trying to migrate from subversion to git able to saw the all the branches of that repository when run the command like

$git branch -a

After that i push the git repository into bitbucket using the command like:

$git push -u origin --all

, but here in bitbucket i m able see only the master branch. Can any one resolve this issue pls.

Thanks in Advance.

4 answers

0 vote
Jesse Yowell Atlassian Team Aug 06, 2013

Hi Nageswarara,

You want to make sure you have checked out a certain branch in your repo first, by doing:

git checkout <branch_name>

Afterwards, you should be working on that specific branch: http://git-scm.com/book/en/Git-Branching-What-a-Branch-Is

Also, be sure to read up on merging: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

Cheers,

Jesse

I am also having the same issue. I have run the push command in verbose mode, it display all the branches and tag creation logs, but in bitbucket it showing only the master with no tag and branch. And if try to push, again, it says everything is upto date.

I am also having the same issue. I have run the push command in verbose mode, it display all the branches and tag creation logs, but in bitbucket it showing only the master with no tag and branch. And if try to push, again, it says everything is upto date.

I Resolve This Problem By Executing The Cleanup command

$ java -Dfile.encoding=utf-8-jar svn-migration-scripts.jar clean-git --force

Finally I m able to view the Brances in my Bitbucket

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

171 views 6 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you