今天学到什么
1.git的配置
-
1.1 ssh的配置
ssh-keygen -t rsa -C 1234567@qq.com
01.png
02.PNG
03.PNG
将id-rsa.pub的内容复制到公钥里面
-
1.2 git的三个区
04.png
git add . //添加到暂存区
git commit -m"xx" //添加到版本库
git push //推送到远程
2.vscode的环境配置
-
2.1插件安装
安装open in browser
01.PNG
-
2.1快捷的配置
将以下内容按后面的步骤粘贴进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" }
]
01.png
03.PNG
05.PNG