Converting a /etc svk repository to git

e.g. one from manage etc with svk

aptitude install git-arch git-svn
# everybody needs restore, nobody want backups
cp -a /etc /root
cd /etc
git svn init -t tags -b branches -T etc file:///root/.svk/local
git svn fetch --repack 1000
git add .
git commit -am"commit after migration from svk to git"

(derived from this great resource: An introduction to git-svn for Subversion/SVK users and deserters)

TODO: http://kitenet.net/~joey/code/etckeeper/

aptitude install etckeeper
etckeeper init
git commit -m"etckeeper installed"
howto/vcs/svk2git.txt · Zuletzt geändert: 2009/02/20 07:03 von hinnerk
CC Attribution-Noncommercial-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0