Git

作者: JSL_FS | 来源:发表于2018-02-03 05:27 被阅读0次

    参考 我大哥 廖雪峰的 Git教程

    将github项目克隆到本地

    $ git clone https://github.com/8bulbs/learn_git.git
    

    添加文件file到仓库

    $ git add fileName
    

    添加所有文件到仓库

    $ git add .
    

    将文件提交到仓库

    $ git commit -m "your msg"
    

    将本地修改推送到github

    $ git push
    

    Successfully created project 'wechat_dev' on GitHub, but initial push failed: Could not read from remote repository.
    解决:
    Settring -> VersionControl ->GitHub中去掉:“Clone git repositories using ssh”

    git clone fatal: unable to access resolution:modify https => git

    20180227205107.png

    相关文章

      网友评论

          本文标题:Git

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