今天学到了什么
1、git的配置
1.1“ssh”的配置
步骤
//在命令行中输入以下内容,产生SSH
ssh-keygen -t rsa -C 1257877950@qq.com
然后在Gitee中进行以下操作
![](https://img.haomeiwen.com/i13085800/4e3db2c2450072f3.png)
![](https://img.haomeiwen.com/i13085800/25e02a6f69ea292e.png)
找到如下文件
![](https://img.haomeiwen.com/i13085800/5d63afc9e338df61.jpg)
![](https://img.haomeiwen.com/i13085800/4dd501ba437db397.png)
![](https://img.haomeiwen.com/i13085800/5227793c1efa8c71.jpg)
复制id-rsa.pub
的内容放到公钥中
![](https://img.haomeiwen.com/i13085800/d6d669ff7f93fa4c.png)
2.git的概念
![](https://img.haomeiwen.com/i13085800/12ef544927ac6010.png)
2.1 git add .
2.2 git commit -m"xxx"
2.3 git push
3、关于VS运行环境
3.1 安装open in browser
插件
![](https://img.haomeiwen.com/i13085800/01285a6a98c7dd7d.png)
安装open in browser1.1.0
版本
![](https://img.haomeiwen.com/i13085800/c952d34f135abbe7.png)
3.2快捷键的设置
将下面的代码进行复制
[
{ "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" }
]
然后进行如下操作
09.png
![](https://img.haomeiwen.com/i13085800/94b637c0357b42b1.png)
![](https://img.haomeiwen.com/i13085800/b908980a380a84e2.png)
![](https://img.haomeiwen.com/i13085800/ddc01c1d76e52efc.png)
网友评论