原文:在码云上git push时报错,出现error: failed to push some refs to 'https://gitee.com/lipengyangzuishuai/gitstudy.git'的解决办法

.使用 git remote add 别名 远程地址 命令起别名,查看当前所有远程地址别名 .创建hello.txt .使用 git push 别名 分支 命令推送失败 .使用git pull 远程地址别名 master allow unrelated histories 根据错误提示 用git pull 将远程仓库的内容pull下来 无奈pull下来后再push还是报上述错误 网上查找资料 找 ...

2021-11-06 10:30 0 766 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM