我刚刚拉了一个新分支,进行了一些本地更改,提交并尝试推送。我收到了这个错误:! [rejected] groups -> groups (non-fast forward)
所以我尝试拉,但被告知Already up-to-date.
这就是我拉然后推的东西。
~/dev$ git pull origin groups
Already up-to-date.
~/dev$ git push origin groups
To /mnt/ebs/git/repo.git
! [rejected] groups -> groups (non-fast forward)
error: failed to push some refs to '/mnt/ebs/git/repo.git'
谁能解释这是如何发生的以及我该如何解决?