美文网首页
Git&Github使用

Git&Github使用

作者: 笙歌梦断 | 来源:发表于2020-06-07 18:10 被阅读0次

    视频:https://youtu.be/Mgp7yDilzfU Win10下安裝與設定Git

    注册Github,创建一个仓库
    下载Git: 官网下载---改一下下图设置,其余默认设置即可
    ![git.png](https://img.haomeiwen.com/i1916100/033179fdf76c9929.png?imageMogr2/auto- orient/strip%7CimageView2/2/w/1240)

    下载完毕后,打开power shell,输入:
    git --version
    git config --global user.name 你的用户名
    git config --global user.email 登录邮箱
    git config --global color.ui true

    建立工作文件夹
    cd 路径
    mkdir 文件夹名称
    安装init
    ···git init···
    查看状态
    ···git status上传文件git add .```
    添加说明信息

    连接工作文件夹
    ··· git remote add origin https://github.com/用户名/github仓库名.git
    ``` git push origin master``` 

    相关文章

      网友评论

          本文标题:Git&Github使用

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