Not many people know this, but if you work for a draconian empire who insists on using Subversion across the board and won’t let you move to something a little better like Git, then there’s actually a tool just for this task.
Built into Git is git-svn:
TO WORK WITH AN SVN REPOSITORY BUT WORK WITH GIT LOCALLY:
git svn clone [http location of an svn repository]
Now you can work with the checked out directory as though it was a git repository.
TO PUSH (COMMIT) CHANGES TO THE REMOTE SERVER
git svn dcommit
TO UPDATE YOUR LOCAL REPOSITORY FROM THE SVN REPOSITORY
git svn rebase
NOTE: make sure you have your perl bindings to your local svn installation.
I screwed up, how do I reset my checkout?
git checkout -f
* Note, I don’t work for a draconian empire, and I use Git.











