Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 854 Bytes

visualstudiocode.asc

File metadata and controls

21 lines (17 loc) · 854 Bytes

Git in Visual Studio Code

Visual Studio Code has Git support built in. You will need to have Git version 2.0.0 (or newer) installed.

The main features are:

  • See the diff of the file you are editing in the gutter.

  • The Git Status Bar (lower left) shows the current branch, dirty indicators, incoming and outgoing commits.

  • You can do the most common git operations from within the editor:

    • Initialize a repository.

    • Clone a repository.

    • Create branches and tags.

    • Stage and commit changes.

    • Push/pull/sync with a remote branch.

    • Resolve merge conflicts.

    • View diffs.

  • With an extension, you can also handle GitHub Pull Requests: https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github.

The official documentation can be found here: https://code.visualstudio.com/docs/sourcecontrol/overview.