git vs svn


Im toying with the idea off learning something new and fancy, specifically the version control git. So I played a bit around, did a checkout of mint2 with svn

arnes Mac:~ $ time svn co

Checked out revision 7388.

real 2m32.016s
user 0m7.690s
sys 0m5.221s

That checked out ONE version of mint2 into my home dir.

Then I imported the svn stuff into a git repo (black magic) and hosted it on oreo in my home dir. If you have git on your machine you can do:
arnes Mac:~ $ time git clone

Cloning into mint2...
remote: Counting objects: 15077, done.
remote: Compressing objects: 100% (3394/3394), done.
remote: Total 15077 (delta 9616), reused 15077 (delta 9616)
Receiving objects: 100% (15077/15077), 129.61 MiB | 11.07 MiB/s, done.
Resolving deltas: 100% (9616/9616), done.

real 0m24.645s
user 0m6.482s
sys 0m2.760s

Thats approximatly 6 times faster (but its local network, I dont know how it will be different on a slow line). But you got THE WHOLE HISTORY of the project, not just one version.

play around with $ git log
and $ git log –help

And then everything you can commit locally (for your own versioning means) or push it to the server to share with others.

Panos set up a git hosting system, if you like the idea, we could make it official and all learn to git around (no gitting). Of course we would first figure out the basics before we use it on production stuff!!

Comments are closed.