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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Training & Certification

Atlassian Cloud 101: Start quickly with free training

Free training for Jira, Confluence, and Jira Service Management Start faster and be more productive with Atlassian cloud products. Take the guess work out of where to begin, and gain confidence wi...

80 views 3 9
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