Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem moving trunk to master #8

Open
Shuro opened this issue Jul 6, 2012 · 1 comment
Open

Problem moving trunk to master #8

Shuro opened this issue Jul 6, 2012 · 1 comment

Comments

@Shuro
Copy link

Shuro commented Jul 6, 2012

Hi, i tried to convert a svn-repository with several branches to git, everything worked like a charm, except moving the trunk/ to master/.

~> git branch -m trunk master
fatal: A branch named 'master' already exists.

I was suprised and looked in "master/" there was a single ".gitignore" file.

Hope for help soon

@Shuro
Copy link
Author

Shuro commented Jul 6, 2012

You should use git branch -M trunk master in your script, this also moves if trunk exists

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant