Open Shuro opened 12 years ago
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
You should use git branch -M trunk master in your script, this also moves if trunk exists
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