{"id":2718,"date":"2016-06-14T05:41:09","date_gmt":"2016-06-14T05:41:09","guid":{"rendered":"http:\/\/www.nikola-breznjak.com\/blog\/?p=2718"},"modified":"2017-04-14T07:29:11","modified_gmt":"2017-04-14T07:29:11","slug":"gitflow-successful-git-branching-model","status":"publish","type":"post","link":"https:\/\/nikola-breznjak.com\/blog\/quick-tips\/gitflow-successful-git-branching-model\/","title":{"rendered":"Gitflow &#8211; a successful Git branching model"},"content":{"rendered":"<p><strong>edit<\/strong> 14.4.2017: I made a 2.5k+ word post about Gitflow, Pull Requests and Code Reviews which goes way deeper in the topic. The post is here if you want to check it out: <a href=\"http:\/\/www.nikola-breznjak.com\/blog\/miscellaneou\/git-branching-done-right-gitflow-improving-code-quality-code-reviews\/\">Git branching done right with Gitflow &amp; improving code quality with code reviews<\/a>.<\/p>\n<p>Before I started working on my newest project, I took the time to finally delve into the <em>proper<\/em> way of doing branching. Not long into the research <code>gitflow<\/code> popped up as the more\/less something that community loves.<\/p>\n<p>After checking it out, I&#8217;m amazed how awesome this is.<\/p>\n<p>So, first things firs; the original article was written by Vincent Driessen: <a href=\"http:\/\/nvie.com\/posts\/a-successful-git-branching-model\/\">A successful Git branching model<\/a> goes into the details of this workflow.<\/p>\n<p>Later I found out that community built the <a href=\"https:\/\/github.com\/nvie\/gitflow\">git-flow<\/a> command line program that provides high-level repo operations for Vincent Driessen&#8217;s branching model.<\/p>\n<h2>Tutorial<\/h2>\n<ul>\n<li><a href=\"https:\/\/vimeo.com\/16018419\">15min video<\/a><\/li>\n<\/ul>\n<h2>Installation<\/h2>\n<p>Simple <code>brew install git-flow<\/code> if you&#8217;re on Mac.<\/p>\n<h2>Git-flow command completion<\/h2>\n<p>Use tabs to auto-complete the git-flow commands: <a href=\"https:\/\/github.com\/bobthecow\/git-flow-completion\">https:\/\/github.com\/bobthecow\/git-flow-completion<\/a>. Completions available for both bash and zsh.<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\">\n<p lang=\"en\" dir=\"ltr\">Gitflow \u2013 a successful Git branching model <a href=\"https:\/\/t.co\/1ecyQ5qlTd\">https:\/\/t.co\/1ecyQ5qlTd<\/a><\/p>\n<p>&mdash; Nikola Bre\u017enjak (@HitmanHR) <a href=\"https:\/\/twitter.com\/HitmanHR\/status\/742593725260517376\">June 14, 2016<\/a><\/p><\/blockquote>\n<p><script async src=\"\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>edit 14.4.2017: I made a 2.5k+ word post about Gitflow, Pull Requests and Code Reviews which goes way deeper in the topic. The post is here if you&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2719,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,15],"tags":[],"class_list":["post-2718","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-miscellaneou","category-quick-tips"],"_links":{"self":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2718","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/comments?post=2718"}],"version-history":[{"count":4,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2718\/revisions"}],"predecessor-version":[{"id":3269,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/posts\/2718\/revisions\/3269"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media\/2719"}],"wp:attachment":[{"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/media?parent=2718"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/categories?post=2718"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nikola-breznjak.com\/blog\/wp-json\/wp\/v2\/tags?post=2718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}