Undo change in git (not rewriting history)

前端 未结 4 1624
盖世英雄少女心
盖世英雄少女心 2020-12-05 01:57

I made a change in a script and committed it. Then I made a few other changes, and pushed them to a remote repository and such.

Then I realised that first change I m

4条回答
  •  无人及你
    2020-12-05 02:21

    Have a look at this git revert question. There seems to be a issue reverting older commits if not in a consecutive sequence including the most recent commit.

提交回复
热议问题