File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
book/A-git-in-other-environments/sections Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ === Git in Visual Studio Code
2
+
3
+ Visual Studio Code has git support built in. You will need to have git version 2.0.0 (or newer) installed.
4
+
5
+ The main features are:
6
+
7
+ * See the diff of the file you are editing in the gutter.
8
+ * The Git Status Bar (lower left) shows the current branch, dirty indicators, incoming and outgoing commits.
9
+ * You can do the most common git operations from within the editor:
10
+ ** Initialize a repository.
11
+ ** Clone a repository.
12
+ ** Create branches and tags.
13
+ ** Stage and commit changes.
14
+ ** Push/pull/sync with a remote branch.
15
+ ** Resolve merge conflicts.
16
+ ** View diffs.
17
+ * With a extension, you can also handle GitHub Pull Requests:
18
+ https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github
19
+
20
+ The official documentation can be found here: https://code.visualstudio.com/Docs/editor/versioncontrol
You can’t perform that action at this time.
0 commit comments