<?xml version="1.0" encoding="UTF-8"?>
<post>
  <body>&lt;p&gt;&lt;a href=&quot;http://git.or.cz/&quot;&gt;Git&lt;/a&gt; needs no introduction.&lt;/p&gt;


	&lt;p&gt;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!&lt;/p&gt;


&lt;pre&gt;
$ svn co https://my.super.gigantic.svn.repo repo_svn
$ du -csh repo_svn
473 Mb
&lt;/pre&gt;
	&lt;p&gt;Now with git-svn:&lt;/p&gt;


&lt;pre&gt;
$ git svn clone https://my.super.gigantic.svn.repo repo_git
$ cd repo_git
$ git gc
$ du -csh .
340 Mb
&lt;/pre&gt;
	&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;WTF&lt;/span&gt;???!!&lt;/p&gt;


	&lt;p&gt;And what&amp;#8217;s the difference? The git repo contains &lt;strong&gt;all&lt;/strong&gt; the history since &lt;strong&gt;revision 0&lt;/strong&gt; from this repository, &lt;strong&gt;offline&lt;/strong&gt;!&lt;/p&gt;


	&lt;p&gt;So &lt;strong&gt;all&lt;/strong&gt; the repository history on git is &lt;strong&gt;significantly smaller&lt;/strong&gt; than the &lt;strong&gt;HEAD&lt;/strong&gt; on svn? I really do love git&amp;#8230;&lt;/p&gt;</body>
  <excerpt nil="true"></excerpt>
  <id type="integer">93</id>
  <permalink>why-i-m-in-love-with-git</permalink>
  <published-at type="datetime">2008-03-04T15:51:00-08:00</published-at>
  <title>Why I'm in love with Git</title>
</post>
