![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
GitHub
captainNYS
这个作者很懒,什么都没留下…
展开
-
GitHub上传
1创建新的仓库(Repsitory)并提交代码 1>登陆GitHub后创建新仓库(不要勾选Initialize this repository with a README,可以后期手动在本地库添加并提交),copy好库的地址,像:https://github.com/CaptainNYS/LT-Linear-Threshold-Model-.git 2>在本地库(你想要上...原创 2018-05-04 11:47:32 · 162 阅读 · 0 评论 -
GitHub上传错误(the remote contains the work that you do not have locally)
报错如图:错误原因:手动在GitHub库中添加了readme文件,导致在本地库某些文件更新后,再同步到GitHub库中报如上错误解决方法:提交更改(git push -u origin master)之前先做如下工作:git pull --rebase origin master (获取远程库与本地库合并)参考文档:https://www.cnblogs.com/yujihang/p/660...原创 2018-04-26 22:11:31 · 1769 阅读 · 0 评论