安装
1. 下载git-scm并且安装
自动下载,无脑安装一路next
2. Restart VSCode
最好新建一个 Workspace 文件夹(大家可以根据自己喜好设置啦)
我喜欢先在 remote 设置一个 git:
https://gitee.com/ABCD/MyProject.git
然后 点击 Command Palette ...
提示符下输入 git Clone, 选择 Git: Clone, 贴入 remote repository 的 URL
选择存放仓库的文件夹(Workspace)
数据仓库就会自动导入
3. 选择分支 Branch
VSCode 左下点
使用
修改完文件,会在Source Control 的 侧边栏里面显示文件个数
文件后面 标识
A - Indexed
2,M - 2 problems, Modified