{"id":324,"date":"2013-05-24T09:14:12","date_gmt":"2013-05-24T08:14:12","guid":{"rendered":"http:\/\/www.nax.cz\/?p=324"},"modified":"2013-05-24T09:14:12","modified_gmt":"2013-05-24T08:14:12","slug":"how-to-speed-up-your-git-repository","status":"publish","type":"post","link":"https:\/\/nax.cz\/?p=324","title":{"rendered":"how to speed up your git repository"},"content":{"rendered":"<p>Thanks to my colleague Istvan I have learnt another interesting function of git today. Quote from his email:<\/p>\n<p>&#8222;Git stores its repository compressed, but incremental updates (commits) are compressed incrementally too. The whole repo can be recompressed alltogether, making it much smaller, so it can be accessed faster.&#8220;<\/p>\n<p>Magical command follows:<br \/>\n<code>git gc --aggressive<\/code><\/p>\n<p>It can reduce size of your local git repository almost twice.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to my colleague Istvan I have learnt another interesting function of git today. Quote from his email: &#8222;Git stores its repository compressed, but incremental updates (commits) are compressed incrementally too. The whole repo can be recompressed alltogether, making it much smaller, so it can be accessed faster.&#8220; Magical command follows: git gc &#8211;aggressive It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-324","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts\/324","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=324"}],"version-history":[{"count":0,"href":"https:\/\/nax.cz\/index.php?rest_route=\/wp\/v2\/posts\/324\/revisions"}],"wp:attachment":[{"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=324"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=324"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nax.cz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=324"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}