![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
罹离
这个作者很懒,什么都没留下…
展开
-
Updates were rejected because the remote contains work that you do
error: failed to push some refs to ‘git@github.com:…..” Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to 错误...原创 2018-07-19 12:39:15 · 9444 阅读 · 1 评论 -
Please make sure you have the correct access rights and the repository exist
今天从githup上面拉取代码,git工具报了这个错。 其实是githup账号ssh key的问题 首先先到自己电脑的如下路径看看有没有ssh key,如果有的话将id_rsa.pub用文本编辑器打开,复制出里面的内容 然后登陆你的githup账号 然后new ssh key ,将刚才复制的内容,粘贴出来 ...原创 2018-08-05 14:02:33 · 11983 阅读 · 0 评论 -
在使用Git把当前分支合并到master提示“Already up-to-date”
在使用Git把当前分支合并到master提示“Already up-to-date”,但当前分支和 master 分支代码不同步。①当前分支或者主分支代码不是最新的,有未更新(未提交的代码),把分支代码提交最新再进行合并②假设当前分支是:dev,主分支是:master。解决方法:git checkout master;git reset --hard dev;git push -...原创 2018-10-04 16:31:20 · 16094 阅读 · 0 评论