How can I fix a reverted git commit?

后端 未结 4 1993
半阙折子戏
半阙折子戏 2021-02-03 18:19

I\'ve committed a bunch of changes to a repository, and they were reverted by someone else (they compile on windows but not on linux). I think that the changes are still in the

4条回答
  •  Happy的楠姐
    2021-02-03 18:36

    Have you tried reverting the revert?

    They reverted your commit using

    git revert 
    

    The revert itself is a commit and has its own commit id. So now you need to do

    git revert 
    

提交回复
热议问题