I have to use svn as source code management tool, but I want to use git branches locally. I wonder if it works without problems and what’s the best approach. I read about ‘git svn’, but it looks like I would have to sync the whole svn repositoy to use it. That’s not an option. Assuming I’m the only developer (not git push/pull between developers) and want to use git only ‘locally’. What’s the best approach? Just ‘git init’ on my local checked out project? And to use both tools in the same folder? Are there better approaches?
Share
You do not need to sync the whole repository. You can clone the modules you require:
That will pull down the whole history for that module. You can just grab
HEAD:This is how I work most days.
There are lots of related questions about
git-svnworkflow… just follow the links to the right of this answer 🙂