Using Git as subversion client

http://git-scm.com/
(Newer packages for Ubuntu:
http://ppa.launchpad.net/pdoes/ppa/ubuntu karmic main)


Set up git repository, done only once
--------------------------------------
Init your git repository with the svn path
    
    git svn init svn+ssh://YOU_USERNAME@svn.kde.org/home/kde/branches/work/kst/portto4

Get an old revision as starting point (git slang: basepoint)
e.g http://mail.kde.org/pipermail/kst/2008-January/015217.html

    git svn fetch -r768342

(without the revision it starts checking for commit at revsion 100,
but also only getting all changes from january takes a while)


Update
------
Update your local clone

    git svn fetch
    
Update your local branch 'master' (git slang: move basepoint of master 
to HEAD of the fetched data)

    git checkout master
    git svn rebase
    

History
-------
Browse history offline with a git-GUI gitk, gitg, qgit, ...


Commiting
----------
 Commit your changes to your local repository
 
     git commit "message" -a
     
 Commit to public svn repository
 
     git svn dcommit

