day1

作者: 墨雅丫 | 来源:发表于2018-07-09 20:27 被阅读0次

    2018.07.09学习总结

    1.安装软件及注册软件

    包括安装Git,TortoiserGit,VSCodeSetup,极速PDF阅读器
    包括注册码云,简书(需记住密码)

    2.常用网址

    [链接] (ftp://192.168.14.2)
    [链接] (https://gitee.com/) //码云
    [链接] (https://docs.ibase.work/) //资料
    [链接] (https://www.baidu.com) //百度

    3.ssh的配置

    ssh-keygen -t rsa -C 3012329143@qq.com
    
    01.png 02.png
    03.png
    标题为wuxi ,公钥为03里复制的代码

    4.三个区的图解

    04.png
    git add .   //添加到暂存区
    git commit -m"xxx"   //添加到版本库
    git push  //推送到远程
    

    5.vscode的环境配置

    5.1插件安装
    open in browser
    
    5.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" }
    ]
    
    代码来自工具
    ctrl +w 预览所写代码的运行结果,即h1~h6
    06.png

    6.代码

    6.1添加所有修改的内容
    
    git add .
    git commit -m"xxx"
    git status
    git diff
    
    6.2版本回退
    git log  //查看历史版本
    git reflog  //从后向前
    git reset --hard XXXXX  //跳转到某一个
    
    6.3克隆远程仓库到本地
    git clone xxx  //xxx为复制的ssh代码
    
    今天上课有时不能跟上老师的节奏,以后需要集中注意力,分配好窗口,认真听讲,按照老师的步骤迅速跟上,若有不懂的问题,及时请教他人,总之,一定要严格要求自己,尽力去上好每一节课。何敏 20180709 20:26

    相关文章

      网友评论

          本文标题:day1

          本文链接:https://www.haomeiwen.com/subject/xrwtpftx.html