Git How to easily return to the state before the change (before commit)
Change pre-commit changes without using a terminal
Just move to another branch!
This is the easiest way to undo the changes, but if it applies to other cases, you can refer to the article below!
https://qiita.com/tani-shi/items/3419600447292abf6c79
@tani-shi
That's all from the scene!