今天学了什么
1.git的配置
- 1.1
ssh
的配置
ssh-keygen -t rsa -C 1429807087@qq.com
01.png
02.png
03.png
将
id-rsa.pub
里面的内容复制到公钥里面去
-
1.2 git 的三个区
04.png
`git add .` //添加到暂存区
`git commit -m" x " //添加到版本库
`git push` //推送到远程
2.vscode的环境配置
- 2.1插件安装
Open in borwser
- 2.2快捷键的配置
05.png
06.png
将以下代码复制到keybindings.json
里面去
[
{ "key": "alt+/", "command": "editor.action.triggerSuggest","when": "editorTextFocus" },
{ "key": "ctrl+d", "command": "editor.action.deleteLines","when": "editorTextFocus" },
{ "key": "ctrl+alt+down","command": "editor.action.copyLinesDownAction", "when": "editorTextFocus" },
{ "key": "ctrl+alt+up", "command": "editor.action.copyLinesUpAction", "when": "editorTextFocus" },
{ "key": "shift+enter", "command": "editor.action.insertLineAfter", "when": "editorTextFocus && !editorReadonly" } ,
{"key":"ctrl+w","command": "extension.openInBrowser" , "when": "editorTextFocus" }
]