From 5c575a7eb857f3987d229af5131637c74467f795 Mon Sep 17 00:00:00 2001 From: Magnus Therning Date: Thu, 17 Mar 2016 10:29:44 +0100 Subject: [PATCH] git: Add binding to magit-reset-popup Signed-off-by: Magnus Therning --- layers/+source-control/git/README.org | 1 + layers/+source-control/git/packages.el | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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"