git使用过程出现的错误
2017-10-17 22:30
381 查看
1.错误1
fatal: remote origin already exists.
解决方法:
$ git remote rm origin
2.错误2
error: failed to push some refs to 'https://gitee.com/dongshuogit/XiaoGongJu.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
这是是因为readme.md 没有存在在本地git中
执行git pull --rebase origin master
就好了 ,现在遇到就这么多问题 以后再继续积累
fatal: remote origin already exists.
解决方法:
$ git remote rm origin
2.错误2
error: failed to push some refs to 'https://gitee.com/dongshuogit/XiaoGongJu.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
这是是因为readme.md 没有存在在本地git中
执行git pull --rebase origin master
就好了 ,现在遇到就这么多问题 以后再继续积累
相关文章推荐
- 安装Xen、创建Xen虚拟机、使用Xen虚拟机过程中经常出现的错误总结
- CKFinder使用过程中出现的错误总结
- win7使用过程中出现错误1079故障的原因及解决方法
- List集合add使用过程中出现的错误
- Android刷机(卡刷)详细过程,出现刷机失败错误的解决方法,以及乐蛙OS的使用感受(小评测)
- 使用win7过程中出现错误1079代码故障的解决方法
- List集合add使用过程中出现的错误
- SVN使用过程中出现的错误记录(一)
- wireshark使用过程无法抓取前序和FCS或出现IP报头校验和错误--原因
- wireshark使用过程无法抓取前序和FCS或出现IP报头校验和错误--原因
- BAE使用git push出现错误:fatal: The remote end hung up unexpectedly
- 使用ajax过程中出现未知错误
- 使用Toad创建存储过程出现错误并解决
- maven使用过程中,出现must override a superclass method的“override”的错误
- 安装Xen、创建Xen虚拟机、使用Xen虚拟机过程中经常出现的错误总结
- pbc-0.5.12 使用arm编译器编译 过程中出现extend_printf.c中错误,需要替换extend_printf.c文件
- 使用git clone出现SSL routines:SSL3_GET_SERVER_CERTIFICATE错误的一种解决办法
- Git使用错误:克隆的时候出现Git did not exit cleanly(exit code 128)
- 使用git clone出现SSL routines:SSL3_GET_SERVER_CERTIFICATE错误的一种解决办法
- EGit 在使用时出现 git-upload-pack not found 的错误