diff --git a/layers/+source-control/git/README.org b/layers/+source-control/git/README.org index 47eaebb1e..6ed768f3e 100644 --- a/layers/+source-control/git/README.org +++ b/layers/+source-control/git/README.org @@ -131,6 +131,7 @@ Git commands (start with ~g~): | ~SPC g m~ | display the last commit message of the current line | | ~SPC g t~ | launch the git time machine | | ~SPC g U~ | unstage current file | +| ~SPC g x~ | show reset prompt | - Highlight by age of commit or last update time is provided by [[https://github.com/syohex/emacs-smeargle][smeargle]]. diff --git a/layers/+source-control/git/packages.el b/layers/+source-control/git/packages.el index f60978d41..8f7c77a09 100644 --- a/layers/+source-control/git/packages.el +++ b/layers/+source-control/git/packages.el @@ -144,7 +144,8 @@ "gP" 'magit-push-popup "gs" 'magit-status "gS" 'magit-stage-file - "gU" 'magit-unstage-file) + "gU" 'magit-unstage-file + "gx" 'magit-reset-popup) (spacemacs|define-micro-state git-blame :title "Git Blame Transient State"