我在下面执行这些命令:
git add .
git commit -m t
然后,当执行以下命令时:
git push origin development
我犯了以下错误:
To [email protected]:myrepo.git
! [rejected] development -> development (non-fast-forward)
error: failed to push some refs to [email protected]:myrepo.git
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. git pull ) before pushing again. See the
Note about fast-forwards section of git push --help for details.
是否有办法解决上述错误?