Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I did something causing the -R (--reset-author) switch in the Commit menu to always be on by default. How can I reset this?
As with other Magit popups, set the flags the way you want them to be by default, and type C-cC-c.
(n.b. This is likely how you got into that situation in the first place.)
See C-hf magit-popup-set-default-arguments
(or type ?C-cC-c in the popup buffer.)
I can reproduce your problem by setting (default is nil ):
(setq magit-commit-arguments '("--reset-author"))
So check this variable in your config, and remove "--reset-author" from it.
Required, but never shown