vsCode 记录

83 阅读1分钟

1. 安装的时候记得把鼠标右键打开快捷方式打开;

2. 欢迎页面打开;

3. 把默认的powerShell改为cmd ,powerShell很多坑有时候突然终端输入不了;

4. 好用的扩展

image.png

image.png

image.png

image.png

Bookmarks 书签 (可以记录常用的公共组件位置 ,webstorm是自带的功能)

5.git

git暂存功能 stashes(切换分支时不想提交代码时可用)

image.png

git log --author="anthor" --oneline -3 (查看anthor最近几次提交的内容)

git cherry-pick [<选项> …​] <commit>…​
git cherry-pick (--continue | --skip | --abort | --quit)

git fetch --prune 解决git 远程删除分支之后,vscode本地分支列表没有更新

git config --global --list查看global配置, git config -l查看所有config
git config --global user.name "Your Name Comes Here" 配置用户名
git config --global user.email you@yourdomain.example.com 配置邮箱