In a normal emacs (not spacemacs), discard change is bound to key of "k", then in spacemacs, base on the following information.


On the other hand, anything originally bound to k will be found on K, since k is reserved but K is not. If there is a binding on K, that will be moved to C-k.

But when I press K, it pops us a helm buffer to let me select a file to ingore in git.


1 Answer 1


Discard command is bound to x.

You can check key bindings by ? in magit-status buffer as below.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.