File tree Expand file tree Collapse file tree 2 files changed +20
-18
lines changed
book/A-git-in-other-environments/sections Expand file tree Collapse file tree 2 files changed +20
-18
lines changed Original file line number Diff line number Diff line change 1- === Git in Visual Studio Code
1+ === Visual Studio Code 中的 Git
22
3- Visual Studio Code has git support built in.
4- You will need to have git version 2.0.0 (or newer) installed.
3+ ((( Visual Studio Code)))
4+ Visual Studio Code 自带对 Git 的支持。你需要已经安装好 2.0.0(及以上)版本的 Git。
55
6- The main features are:
6+ 主要功能如下:
77
8- * See the diff of the file you are editing in the gutter.
9- * The Git Status Bar (lower left) shows the current branch, dirty indicators, incoming and outgoing commits.
10- * You can do the most common git operations from within the editor:
11- ** Initialize a repository.
12- ** Clone a repository.
13- ** Create branches and tags.
14- ** Stage and commit changes.
15- ** Push/pull/sync with a remote branch.
16- ** Resolve merge conflicts.
17- ** View diffs.
18- * With a extension, you can also handle GitHub Pull Requests:
19- https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github[]
8+ * 在行号槽显示你正在编辑的文件的改动情况。
9+ * Git 状态栏(位于左下角)会显示当前所在分支,编辑指示符以及未提交或者未拉取的提交的数量。
10+ * 你能够在编辑器内完成常用的 Git 操作:
11+ ** 初始化一个仓库。
12+ ** 克隆一个仓库。
13+ ** 新建分支和标签。
14+ ** 暂存和提交修改。
15+ ** 对一个远程分支进行推送/拉取/同步。
16+ ** 解决合并冲突。
17+ ** 查看比较。
18+ * 配合一个扩展,你也能够处理 GitHub 的拉取请求:
19+ https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github
2020
21- The official documentation can be found here: https://code.visualstudio.com/Docs/editor/versioncontrol[]
21+ 官方文档请访问:
22+ https://code.visualstudio.com/Docs/editor/versioncontrol
Original file line number Diff line number Diff line change 113113 "sections/guis.asc" : 100 ,
114114 "sections/powershell.asc" : 100 ,
115115 "sections/visualstudio.asc" : 100 ,
116- "sections/zsh.asc" : 100
116+ "sections/zsh.asc" : 100 ,
117+ "sections/visualstudiocode.asc" : 100
117118 },
118119 "B-embedding-git" : {
119120 "1-embedding-git.asc" : 100 ,
You can’t perform that action at this time.
0 commit comments