hot to fix git svn import or just discard 'branches' folder
- From
- Marius Seritan <mseritan@decodeideas.com>
- Date
- Feb 4, 2009, 17:03 UTC
- Message-ID
- <7E976223-6794-4E87-94A5-DEA224759700@decodeideas.com>
I imported over night an svn repository with the command:
git svn clone --prefix svn/ -r 860 http://svn.some.com/svn/someproject
The svn repository uses the usual trunk, branches, tag so I (wrongly?) assumed I do not need to pass any command switches regarding the structure of the repo.
I obviously did something wrong because now I have a git repository with just one remote branch and it contains the folders trunk, branches and tag. I do not want to reimport because it is taking lots of time and bandwidth.
How can I fix this? I do not really need the old branches and tags, I want to be able to track new branches and I just want to have the trunk history.
Thanks for any pointers.
Marius