In Magit, how can I cancel a git process that is taking too long?
If I did something like
git push from a terminal, I could press control-C to cancel. How can I do this from Magit?
You can use
M-x magit-process-kill in the Magit process buffer (
M-x magit-process-buffer jumps to process buffer for the current repository).
magit-process-kill is an interactive Lisp closure in `magit-process.el'. (magit-process-kill) Kill the process at point.
Type $ in the Magit Status buffer to open Magit's process buffer , and then kill this buffer. Emacs will ask you whether to kill the process.