我的情况有以下几点git log:
git log
commit 111 <-- need to push it to the repository commit 222 <-- need to stash this one ...
正如您所看到的,我只需要将最后一次(没有上一次)提交到存储库.
我该怎么做?git revert --soft commit_hash会帮助我吗?
git revert --soft commit_hash
git
git ×1