From 058e79a21680ea2c4466f5281042e0f951d14a9b Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Tue, 22 Jan 2019 15:45:00 +0100 Subject: [PATCH] Add bba-pull. Signed-off-by: Andreas Gerler --- bba.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bba.org b/bba.org index 6e9794f8..7246a28e 100644 --- a/bba.org +++ b/bba.org @@ -307,8 +307,17 @@ Display open TODO items in magit-status. #+END_SRC * [[https://github.com/larstvei/Focus][focus]] +do a stash, pull, pop. +in the end use magit-stash. focus on the important stuff. +#+BEGIN_SRC emacs-lisp :tangle yes + (defun bba-pull () + "Do git stash, pull, pop" + (interactive) + (shell-command "git stash; git pull; git stash pop") + ) +#+END_SRC #+BEGIN_SRC emacs-lisp :tangle yes (if (>= emacs-major-version 24) -- 2.47.3