美文网首页
上传文件到github命令

上传文件到github命令

作者: 叫我民哥L | 来源:发表于2018-08-21 21:50 被阅读0次

    // 添加目录下所有文件到本地仓库
    git add .
    // 关联github仓库
    git remote add origin git@github.com:xxxxxx/project.git
    // 此次变更注释
    git commit -m '注释'
    // 推到远程仓库
    git push -u origin master
    // 合并远程仓库和本地仓库,并推送变更
    git pull origin master

    相关文章

      网友评论

          本文标题:上传文件到github命令

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