Just use your local git repository as a normal git repo, with the normal git commands:
git add FILE
and git checkout -- FILE
To stage/unstage a filegit commit
To save your changes. Those commits will be local and will not be "pushed" to the SVN repo, just like in a normal git repositorygit stash
and git stash pop
Allows using stashesgit reset HEAD --hard
Revert all your local changesgit log
Access all the history in the repositorygit rebase -i
so you can rewrite your local history freelygit branch
and git checkout
to create local branchesAs the git-svn documentation states "Subversion is a system that is far less sophisticated than Git" so you can't use all the full power of git without messing up the history in the Subversion server. Fortunately the rules are very simple: Keep the history linear
This means you can make almost any git operation: creating branches, removing/reordering/squashing commits, move the history around, delete commits, etc. Anything but merges. If you need to rei