如何重新应用 git 中已还原的更改

How to re-apply already reverted back changes in git

如何重新应用 git

中已经还原的更改
  1. 对 "git push"
  2. 进行了一些更改
  3. git 还原“2398239” - 稍后
  4. 对 "git push"
  5. 进行了一些更改
  6. 我想从 [2]
  7. 中的还原中撤回更改

我应该怎么做?

在执行步骤 2 时,您将获得一个新的提交 ID。您可以还原该提交 ID。这基本上是还原还原,与还原提交相同。

Made some changes to "git push" //commit id "2398239"
git revert "2398239" - later // commit id "2345678"
Made some changes to "git push"
git revert "2345678"