day01
2018-07-09 本文已影响0人
努力努力再努力Sun_7c9c
今天学到什么
1.git的配置
1.1 ssh
的配置
ssh-keygen -t rsa -C1452634014@qq.com
1.png
2.png
3.png
将id-rsa.pub
的内容复制到钥匙里面
1.2 git 的三个区
4.pnggit add . //添加到暂存区
git commit -m"xx" //添加到版本库
git push //推送到远程
1.3克隆远程远程仓库到本地
git clone xxx
克隆.png
克隆2.png
2.vscode的环境配置
2.1插件安装
open in browser
2.2快捷键配置
将以下内容按照步骤粘贴进
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
02.png
03.png