SVN to Git
After coming to love the idea of git
and related version control systems, I finally decided to move all
of my repos over to it. After quite the ordeal of getting
gitosis+
gitweb+git-daemon set
up on ubuntu, I'm finally ready to move my main personal
repositories from SVN to git. Pretty straightforward, but I thought
it would be best if I document it here as well:
The process:
1. Assuming you have git and git-svn installed, go ahead and clone
your SVN repository
git svn clone svn+ssh://lfowles.org/home/landon/src/school
2. Now, you need to clone what you just got from your SVN repo to a
new git repo
git clone --bare school school.git
3. That's it!
Now you have a git repository that you can stick in your gitosis
repositories directory or wherever you store these things.
Posted by
Landon |
Permanent Link | Categories:
Intriguing |
[ 0 ]
2009/04/29/index.php#e2009-04-29T15_10_41.txt