I was attempting to make a commit that was rejected by a pre-commit hook I have setup. Nothing strange there, but I would like to be able to force the commit (git commit -n) for times when the hook makes impossible (or just really inconvenient) demands. I tried to find a solution via the documentation and the source, but failed. As best I can tell, it seems that magit-key-mode-groups may have something to do with what I want, but what I'm really looking for is the ability to say C-c C-n instead of C-c C-c, for instance--I don't want it to be a static configuration. On a related note, it'd be really nice if magit would restore the previous commit message when a commit is rejected.
I am quite new to Emacs (only been using it "in production" for a few days), so I imagine there may also be a way to use elisp to make this happen, in which case I am open to suggestions! Preferably I'm just missing existing support in magit, though. Thanks, Tom
