最佳答案
我的 git log有以下情况:
commit 111 <-- need to push it to the repository
commit 222 <-- need to stash this one
...
正如您所看到的,我只需要将最后一次(不需要先前的)提交推送到存储库。
我该怎么做? git revert --soft commit_hash会帮助我吗?