您的位置:首页 > 其它

使用git时遇到的问题总结及处理方法

2017-06-08 20:08 357 查看
这篇文章专门用来记录自己在使用git过程中遇到的一些问题,备忘,长期更新

1.与原fork仓库同步的方法:http://blog.csdn.net/kongying19910218/article/details/50516646
方法思路是先将原仓库下载到本地,再向自己fork下来的仓库push,这样github和本地仓库都能和原仓库同步了

2.Unknown SSL protocol error in connection to github.com:443
这个错误是代理导致的,翻墙就能解决了

3.提交到多个仓库的方法,git remote add origin(这个可以随意取名,就是代表这个源)http://....
再 git push -f origin 参考https://segmentfault.com/q/1010000000646988

4. ! [rejected] master -> master (non-fast-forward)http://blog.csdn.net/lujinjian605894472/article/details/8443403

5. Failed to connect to github.com port:443 tiem out
https://stackoverflow.com/questions/32202200/failed-to-connect-to-github-com-port-443-time-out

6.Fatal Error : Can't resolve host github.comhttps://stackoverflow.com/questions/33667782/fatal-error-cant-resolve-host-github-com

7.Updates were rejected because the tip of your current branch is behindhttp://blog.csdn.net/michael10001/article/details/51371715

8.Git使用之——冲突解决一(git merge conflict)http://blog.csdn.net/u012150179/article/details/14047183

9.git ssh方面 https://segmentfault.com/a/1190000002645623
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: