{"id":339,"date":"2011-11-21T23:28:10","date_gmt":"2011-11-21T23:28:10","guid":{"rendered":"http:\/\/blog.datentraeger.li\/?p=339"},"modified":"2017-02-24T14:27:10","modified_gmt":"2017-02-24T14:27:10","slug":"git-hookssind-sexy","status":"publish","type":"post","link":"https:\/\/blog.datentraeger.li\/?p=339","title":{"rendered":"git hooks\u2026sind sexy"},"content":{"rendered":"<p>git hooks sind cool \ud83d\ude09<\/p>\n<p>Anstatt immer manuell meine Dokumente zu entpacken vor jedem push, kann man auch einfach einen git-hook, zb. pre-commit anlegen und das ganze automatisch ausf\u00fchren lassen. So zum Beispiel:<\/p>\n<pre class=\"lang:sh decode:true \">#.git\/hooks\/pre-commit:\r\n~\/Documents\/foo-peter\/do\r\ncs-git.sh unzip<\/pre>\n<p>git rockt doch einfach nur !<\/p>\n","protected":false},"excerpt":{"rendered":"git hooks sind cool \ud83d\ude09 Anstatt immer manuell meine Dokumente zu entpacken vor jedem push, kann man auch einfach einen git-hook, zb. pre-commit anlegen und das ganze automatisch ausf\u00fchren lassen. So zum Beispiel: #.git\/hooks\/pre-commit: ~\/Documents\/foo-peter\/do cs-git.sh unzip git rockt doch einfach nur !\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-339","post","type-post","status-publish","format-standard","hentry","category-git"],"_links":{"self":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=339"}],"version-history":[{"count":3,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=\/wp\/v2\/posts\/339\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.datentraeger.li\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}