今天早些时候,我执行了git reset --hard 12345abc
将本地副本恢复为特定提交的操作。现在,当我尝试将新更改推送到原始主机时,我收到以下错误:
注意:上面的“12345abc”是一个示例提交号
error: failed to push some refs to 'git@github.com:example/example.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
我怎样才能继续提交我的新更改并将它们推送到原始主机?