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

Git brach name after SVN-Git convertion

A-E-M-Wiz I'm New Here Jun 19, 2019



I have been following the guide on SVN to Git conversion:


What is the expected branch name in Git after the conversion and Clean-Up?

Mine is called "master" and "origin/trunk".



I would expect it to be called "origin/master"?



1 answer

0 votes
A-E-M-Wiz I'm New Here Jun 24, 2019

When I then continue on the SVN conversion guide, I call "git svn fetch" to fetch the latast commits. This is also working, and then I call: "java -Dfile.encoding=utf-8 -jar C:\Users\ext1126\Downloads\svn-migration-scripts.jar sync-rebase"

However, I then receive an error:

fatal: ambiguous argument 'remotes/trunk': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error finding tracking ref for branch master


I assume this is because the script expect the branch name to be origin/master? If so, what did I miss in the conversion process since mine is still called trunk in git?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Training & Certification

Announcing new Jira and Confluence Cloud training 🙌☁️

Four new Atlassian University courses to get your teams up-to-speed in Jira and Confluence Cloud Whether you’re migrating to Cloud, scaling up your teams, or just been waiting for more help on-boar...

230 views 4 14
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