Git workflow in VS Code

July 16, 2019
Git workflow in VS Code

I am talking about git branch and git worktree add; and also, git merge on GitHub website.

Branching in VS Code is as easy as click and type. The option in on the lower left corner.

For git worktree, see https://stackoverflow.com/questions/45491328/git-add-a-worktree-from-existing-remote-branch

It's git worktree add ../branch

After you have done a working set on either, a branch, or a worktree; you proceed to git add ., git commit -m "update", git push origin <BRANCH>.

Then, you merge on GitHub website.

After than, git pull origin master in VS Code.