{"id":6,"date":"2013-04-29T13:11:42","date_gmt":"2013-04-29T11:11:42","guid":{"rendered":"http:\/\/hesmid.nl\/test\/?p=6"},"modified":"2016-01-20T13:07:08","modified_gmt":"2016-01-20T12:07:08","slug":"web-focused-git-workflow","status":"publish","type":"post","link":"https:\/\/hesmid.nl\/test\/web-focused-git-workflow\/","title":{"rendered":"A web-focused Git workflow"},"content":{"rendered":"<ul>\n<li>Follow the steps in this post from Joe Maller<br \/>\n<a title=\"A web-focused GIT workflow\" href=\"http:\/\/joemaller.com\/990\/a-web-focused-git-workflow\/\">http:\/\/joemaller.com\/990\/a-web-focused-git-workflow\/<\/a>Some key advantages of this setup:<br \/>\n&#8211; Pushing remote changes automatically updates the live site<br \/>\n&#8211; Server-based site edits won\u2019t break history<br \/>\n&#8211; Simple, no special commit rules or requirements<br \/>\n&#8211; Works with existing sites, no need to redeploy or move files<\/li>\n<li>Don&#8217;t forget to make the hooks executable (chmod +x) !!<\/li>\n<li>A similar approach (but without a hook to pull changes on live website, I believe) is found here:\u00a0<a title=\"wordpress-deployments-with-git\" href=\"http:\/\/mattbanks.me\/wordpress-deployments-with-git\/\">http:\/\/mattbanks.me\/wordpress-deployments-with-git\/<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow the steps in this post from Joe Maller http:\/\/joemaller.com\/990\/a-web-focused-git-workflow\/Some key advantages of this setup: &#8211; Pushing remote changes automatically updates the live site &#8211; Server-based site edits won\u2019t break history &#8211; Simple, no special commit rules or requirements &#8211; Works with existing sites, no need to redeploy or move files Don&#8217;t forget to make [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7,4],"tags":[3,5],"acf":[],"_links":{"self":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":14,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"predecessor-version":[{"id":95,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/posts\/6\/revisions\/95"}],"wp:attachment":[{"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hesmid.nl\/test\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}