Visual Studio Code cheatsheet. Visual Studio Code, or VSCode, is an open-source code editor. This guide targets VSCode v1.19. Shortcuts Command palette. Key Description. Visual Studio Code Cheat Sheet. Visual Studio Code, or VSCode, is an open-source code editor. This guide targets VSCode v1.19. Table of contents.
I usually access github from within Visual Studio Code. As such, when I start coding a new project, I often need a reminder, or a cheat sheet for how to connect Visual Studio Code to a Git repository. These notes are more for me than for anyone else, but I'm sharing them nonetheless.
Steps:
- Create a directory on the local file system.
- Create a repo on Github.
- Select Clone 'Clone or download' on Github, copy the link
- In Visual Studio Code, sect File -> Add Folder to Workspace -> Select the newly created directory
- Select Terminal Window
- In the window, type:
Visual Studio Code Shortcuts
That should be all that's required. any newly created file should be available on github after stage/commit/push.