If some codes changed, git checkout .
can cancel the change.
How to do the same thing with Magit in Doom Emacs?
If some codes changed, git checkout .
can cancel the change.
How to do the same thing with Magit in Doom Emacs?
You can open the Magit status buffer, navigate to the unstaged changes section and press x
to discard all changes.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.