Basic git svn commands guide

A quick guide to the simplest workflow for using git with an svn repository.

command function
git svn clone checkout
git svn rebase update
git svn dcommit commit
git reset HEAD file unstage file
git checkout filename reset file
git stash put all modified files "on the side" and go to HEAD

You can find a great and much more extensive guide here

And here you can find a few great tips and tricks from Atlassian.

One comment

  1. If you are in hurry, just skimming over them should give you a good idea about the Git usage basics. Before running any command the first time, it’s recommended that you at least quickly skim through its manual page.

Leave a Reply

Your email address will not be published. Required fields are marked *

eight × 6 =