- https://guides.github.com/activities/hello-world/
- https://guides.github.com/introduction/getting-your-project-on-github/
- https://help.github.com/articles/github-glossary/
- https://code.visualstudio.com/docs/editor/versioncontrol
- https://gist.github.com/brygrill/b99fd518cf07c3424c94e9ed37a471ff
- https://help.github.com/articles/caching-your-github-password-in-git/
- https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/
Last active
August 21, 2017 13:29
-
-
Save brygrill/672bb84b0edd7fa17c347873c82b0fcd to your computer and use it in GitHub Desktop.
Github Basics with Visual Studio Code
Sync changes locally
Check out the parent branch:
Your local version of the parent branch will be behind. Sync the changes from Github:
Optionally, delete your local branch:
$ git branch -d feature/<branch-name>
Optionally, prune origin so your list of remote branches is in sync with Github:
$ git remote prune origin
Before:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stage and Commit changes
Change can be viewed from the Source Control panel in VS Code. Select the files to stage and add a useful message.
Cmd/Ctrl + Enter
will commit staged changes. Your commit count will accumulate on bottom bar: