Created
January 31, 2013 23:31
-
-
Save re5et/4687718 to your computer and use it in GitHub Desktop.
magit quick stash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun magit-quick-stash () | |
"Immediately stash with mesage | |
WIP on branchname: short-sha commit-message" | |
(interactive) | |
(magit-stash "")) | |
(add-hook | |
'magit-status-mode-hook | |
(lambda () | |
(define-key magit-mode-map (kbd "Z") 'magit-quick-stash))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment