今天学到什么
1.git的配置
ssh-keygen -t rsa -C 1234567@qq.com
![](https://img.haomeiwen.com/i13085883/8cdf84dd3b19aaec.png)
01.png
![](https://img.haomeiwen.com/i13085883/8f40f03961791fc1.PNG)
02.PNG
![](https://img.haomeiwen.com/i13085883/61f0b455314e066c.PNG)
03.PNG
将id-rsa.pub的内容复制到公钥里面
![](https://img.haomeiwen.com/i13085883/5c70332f4d6d3c5f.png)
04.png
git add . //添加到暂存区
git commit -m"xx" //添加到版本库
git push //推送到远程
2.vscode的环境配置
安装open in browser
![](https://img.haomeiwen.com/i13085883/5dd6ab9d10f7c404.PNG)
01.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" }
]
![](https://img.haomeiwen.com/i13085883/b94e72ddc0159487.png)
01.png
![](https://img.haomeiwen.com/i13085883/75115a6eafe14d07.PNG)
03.PNG
![](https://img.haomeiwen.com/i13085883/82bbc6821620cc05.PNG)
05.PNG
网友评论