There’s no place like ::1

Why I’m in Love With Git

| Comments

Git needs no introduction.

You probably have heard about how git efficiently stores the contents and the repository history on your hard drive. I decided to put it on a test!

$ svn co https://my.super.gigantic.svn.repo repo_svn
$ du -csh repo_svn
473 Mb

Now with git-svn:

$ git svn clone https://my.super.gigantic.svn.repo repo_git
$ cd repo_git
$ git gc
$ du -csh .
340 Mb

WTF???!!

And what’s the difference? The git repo contains all the history since revision 0 from this repository, offline!

So all the repository history on git is significantly smaller than the HEAD on svn? I really do love git…

Comments