{"data":{"markdownRemark":{"html":"<p>If you want to create a new Gatsby project from a specific branch of a repository, the syntax is as follows:</p>\n<div class=\"gatsby-highlight\" data-language=\"text\"><pre class=\"language-text\"><code class=\"language-text\">gatsby new gatsby &#39;https://github.com/GatsbyCentral/gatsby-starter-lumen.git#gatsby-v2&#39;</code></pre></div>\n<p>You append <code class=\"language-text\">.git#branch-name</code> to the https URL of GitHub repository.</p>\n<p>Small trick, but took a while to track down, hope it helps somebody.</p>","excerpt":"If you want to create a new Gatsby project from a specific branch of a repository, the syntax is as follows: You append   to the https URL…","timeToRead":1,"frontmatter":{"date":"March 30, 2018","path":"/gatsby-starter-from-github-branch","title":"Gatsby starter from a GitHub branch"}},"relatedPosts":null,"allCommentsJson":null,"allRatingsJson":{"totalCount":6,"edges":[{"node":{"id":"daeed3cc-1ce2-5b13-8543-1b3d8dff078d","rating":"5"}},{"node":{"id":"55ac4ab9-c89b-5907-b54e-2b510ffa8c66","rating":"5"}},{"node":{"id":"3efbf911-5d84-5b76-9d5b-935ee14461c5","rating":"5"}},{"node":{"id":"26ea1811-8fb5-5531-a520-2a68c4eb3238","rating":"5"}},{"node":{"id":"c446aca5-32f9-56da-9792-596e08756531","rating":"5"}},{"node":{"id":"ba000597-d25c-577d-93f2-d689a88579d0","rating":"5"}}]}},"pageContext":{"tags":[]}}