今天學(xué)到什么
1.git的配置
1.1ssh
的配置
ssh-keygen -t rsa -C 229735890@qq.com
01.png
02.png
03.png
將
id_rsa.pub
的內(nèi)容復(fù)制到公鑰中
1.2git
的三個區(qū)
04.png
git add . //添加到暫存區(qū)
git commit -m"xx" //添加到版本區(qū)
git push //推送到遠(yuǎn)程
2.vscode的環(huán)境配置
2.1插件安裝
Open in browser
2.2快捷鍵的配置
將以下內(nèi)容按后面的步驟粘貼進(jìn)
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" }
05.png
06.png
07.png