Your branch is ahead of 'origin/master' by 1 commitgit
缘由在于你的本地分支高于远程仓库一次提交, 解决方式:windows
-- 同步更新 git push origin master
warning: LF will be replaced by CRLF in main.lua
The file will have its original line endings in your working directory.curl
缘由在于:lua
CR表明回车(\r) LF表明换行(\n) ,在Dos\Windows平台下使用 CRLF 结束一行,即\r\n ; 在Max\Linux平台下是用 LF 结束一行,即\n url
若是Mac和Windows平台下代码的更新以及提交,就会出现问题,其解决方式:spa
-- 检出时将LF转换为CRLF, 提交时将CRLF转换为LF(windows推荐) $ git config --global core.autocrlf true -- 提交时转换为LF,检出时不转换(Unix推荐) $ git config --global core.autocrlf input -- 提交检出均不转换(没有跨平台那一说) $ git config --global core.autocrlf false
更多参考: https://www.jianshu.com/p/450cd21b36a4
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpecteWriting objectdlys: 62code
缘由在于:上传文件有大小限制, 解决方式:blog
git config http.sslVerify "false"
Your branch and 'origin/master' have diverged,
and have 1 and 1 different commits each, respectively.ssl
缘由在于: 存在两种或多种提交,致使本地与远程不一样步,好比远程进行了修改提交,本地在未同步更新的状况下也进行了提交,相似图示:rem
首先输入命令:
git rebase origin/master
再执行命令:
git pull --rebase
最后执行命令:
git push origin master