<分区>
我的故事:
我正在做一个项目,不小心我将所有更改都提交到 Github,但这不是问题,我使用了
git reset --soft HEAD~1
一切都在本地解决了,现在我试图再次将其推送到 Github 但我总是收到此消息:
error: failed to push some refs to 'https://github.com/dr-coder/Chat-App.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.
如何返回我的 Github 仓库以再次推送状态??