{"componentChunkName":"component---src-templates-post-tsx","path":"/posts/2019/07/git-workflow-vs-code/","result":{"data":{"markdownRemark":{"fields":{"slug":"/2019/07/git-workflow-vs-code/"},"frontmatter":{"title":"Git workflow in VS Code","tag":["vscode","git","GitHub","pinned"],"image":"https://miro.medium.com/max/910/1*BCZkmZR1_YzDZy22Vn4uUw.png"},"correctedDateEpoch":1563210000000,"html":"<p>I am talking about <code>git branch</code> and <code>git worktree add</code>; and also, <code>git merge</code> on GitHub website.</p>\n<!-- excerpt_separator -->\n<p>Branching in VS Code is as easy as click and type. The option in on the lower left corner.</p>\n<p>For <code>git worktree</code>, see <a href=\"https://stackoverflow.com/questions/45491328/git-add-a-worktree-from-existing-remote-branch\">https://stackoverflow.com/questions/45491328/git-add-a-worktree-from-existing-remote-branch</a></p>\n<p>It's <code>git worktree add ../branch</code></p>\n<p>After you have done a working set on either, a branch, or a worktree; you proceed to <code>git add .</code>, <code>git commit -m \"update\"</code>, <code>git push origin &#x3C;BRANCH></code>.</p>\n<p>Then, you merge on GitHub website.</p>\n<p>After than, <code>git pull origin master</code> in VS Code.</p>"}},"pageContext":{"slug":"/2019/07/git-workflow-vs-code/"}}}