Branches not displayed in Stash


I try to setup a demo system to demonstrate stash capabilities.

I converted the JIRA Linker Plugin svn repo into a git repo. All branches and tags have been converted. I use it because it has integration tests working well, several tags and branches.

Then I created a repository on stash. I pushed all branches and tags into stash's repo.

But when I use stash I can only see the master branch, and the tags, but not the other branches.

Did I miss something?



2 answers

1 accepted

0 votes
Accepted answer

Hi Stephane,

how did you push all the branches (git push --all)?

git push --all only pushes local branches, so only the branches you see when you run "git branch" are actually being pushed.

You can use

git ls-remote origin


git ls-remote URL

to list all the references the remote (Stash in your case) has to verify wether they have been pushed.



Hi Stéphane,

Now you can use SVN Importer Plugin for Stash to import Subversion repositories into Git. Here's how it works:

  1. Login into Stash as a project administrator;
  2. Create empty Git repository;
  3. Go to Settings tab, choose 'Import from SVN';
  4. Specify URL to SVN repository;
  5. Specify trunk, branches and tags if they differ from the standard SVN Layout;
  6. Optionally you may specify SVN credentials;
  7. Click import button.

At this moment SVN Importer starts background process, you can see the progress on the same page. Optionally you can pause and resume it.

SVN Importer doesn't use git-svn. Instead it's built upon SubGit, our home-grown translation engine. So, the plugin does not have the problems like that one you've encountered. Instead it has some nice features like these:

  • It properly converts branches and tags, copies and moves, merges and deletions;
  • It converts svn:ignore properties to .gitignore files;
  • It converts svn:eol-style and svn:mime-type properties into .gitattributes files;
  • It works much faster than any other svn to git converter;
  • It automatically maps SVN authors to Git committers registered at Stash;
  • And many more other features...

And, finally, SVN Importer is Free. So, download and install it into Stash. Don't forget to tell us what do you think on it. We appreciate your feedback.

Contact us at if you have any questions or suggestions.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

696 views 5 9
Read article

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