git - smartgit 推送 : Not all refs have been pushed

标签 git github smartgit

我开始学习Git已经一个星期了,我在工作中遇到了一个问题。问题是我在 develop 分支中做了一些更改,完成工作后我尝试提交和推送,但是,我无法摆脱最后一个错误。在这里您可以看到 smartgit 和日志的屏幕截图。

enter image description here

你也可以在这里看到日志文件;

enter image description here

最佳答案

只是制作

git checkout develop
git pull
git push

你有这个错误是因为远程开发分支中有一些你在本地开发分支中没有的新提交,必须先获取这些更改

关于git - smartgit 推送 : Not all refs have been pushed,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21376722/

相关文章:

ios - 我的 iOS 开发者证书或私钥在 git 中吗?

java - Intellij-在 Github 上分享项目

git - 不使用 squash 与使用 squash 选项 merge 提交

drupal - 如何通过 AWS 上的 Drush Make 从 Aegir 访问私有(private) github 存储库

Git - 断开的链接、丢失和悬挂的树

git - 如何使用旧的 SSH key 从 Windows 到 Ubuntu?

eclipse - EGit 推送操作给出错误 : "Error occurred during unpacking the remote end"

git - 在提交之间移动文件

Git 服务器 喜欢 GitHub 吗?

git - 无法将某些引用推送到 'https://github.com/myname/myrepo'