'原点/主'分歧,不能提交代码。不想要检索最后一个提交文件

时间:2015-01-08 10:31:18

标签: git github git-branch git-commit

我在尝试提交代码时收到消息:

error: failed to push some refs to 'https://xyz@bitbucket.org/xyz-iphone.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

我不想回到最后一次提交。我正在使用的文件取自之前的提交。

如何在/不更改分支的情况下在相同的存储库中提交?

0 个答案:

没有答案