今天学到了什么
1. GIT的配置
![](https://img.haomeiwen.com/i13085827/9f87f0d632888b94.png)
三个区.png
git add . //添加到暂存区
git commit -m"xxx" //添加到版本库
git push //推送到远程
git clone xxx
git reset --hard XXXXX
git pull //可以将远程仓库里的程序保存到本地
2. SSH
ssh-keygen -t rsa -C 395775347@qq.com
![](https://img.haomeiwen.com/i13085827/375ffa258852bf4c.png)
1.png
![](https://img.haomeiwen.com/i13085827/cdeb87e488347e6c.png)
2.png
![](https://img.haomeiwen.com/i13085827/d3aa2540d273474c.png)
3.png
git config --list --global
3.vscode的环境配置
Open in browser
将以下内容按后面的步骤粘贴进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/i13085827/22a8ecf8cc4da864.png)
4.png
![](https://img.haomeiwen.com/i13085827/ddf97705fd933b4b.png)
5.png
![](https://img.haomeiwen.com/i13085827/0fc8944c1682befa.png)
6.png
网友评论