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



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

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 Off-topic

Importance of Self Realization

Knowing who you are is very important. Life depends on how you define yourself. Be yourself; everyone else is already taken. — Oscar Wilde You might have seen come across quotes like: I am here fo...

49 views 0 2
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