I have a project at work that I'd like to make needlessly complexeasier by using git for my local source control. We use TFS at work, but I also have to push the source to the client's SVN server for production releases. TFS needs to be the official source of record [until I can make a convincing case to switch :-)], SVN is just milestones, and I'd love for git to be the day-to-day working environment.
I've been using git-svn for the second part, basically just committing to git at the milestones, then pushing to svn.
I'd like to move to using git instead of TFS for the more active development, too, but I'm not sure how/if I can have both mappings setup at the same time. All of the examples that I see for git-tfs and git-svn start with cloning the repository, which requires the repository to be empty. Is there some sort of metadata that I can add instead of cloning to setup the TFS mapping?
The mappings are also a little weird (it's a CMS site, so we don't store the core files in source control, only our customizations):
- tags (only used by SVN)
- branches (from SVN, not used)
- trunk (from SVN, symlinked to Website)
- Website
- DesktopModules (mapped in TFS)
- Portals (mapped in TFS)
- Providers (mapped in TFS)
Will git be able to handle the SVN repository mapped at the root and the TFS repository mapped further in?
Would it work to delete the folders mapped in TFS, then clone them from git-tfs?