At work we keep all out clients projects in subversion repositories and are not going to change this in the foreseeable future. A lot of our projects use the same plugins/modules and we also open source some of these and share them on our own github accounts.
What I'd like to do is:
Is this possible? If so, how?
Can I do this with a combination of:
The git-svn tool is an interface between a local Git repository and a remote SVN repository. Git-svn lets developers write code and create commits locally with Git, then push them up to a central SVN repository with svn commit-style behavior.
SVN has one central repository – which makes it easier for managers to have more of a top down approach to control, security, permissions, mirrors and dumps. Additionally, many say SVN is easier to use than Git.
Git has a Distributed Model. SVN has a Centralized Model. In git every user has their own copy of code on their local like their own branch. In SVN there is central repository has working copy that also make changes and committed in central repository.
Rather amusingly, github added Subversion support as a non-April-Fools' joke. In other words, it looked like an April Fools' joke, but is fully functional!
You can add a git repository as an svn:externals using the Subversion URL http://github.com/USER/PROJECT
.
I believe that most of what you're asking for is possible using git-svn (http://git.or.cz/course/svn.html) which allows you to layer git on top of subversion. You can push back into the svn repository when you feel it is a good time and between that use git in a normal git fashion.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With