From 8d7a81b2c17073fea75b8cf8ac8c50507136517d Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Wed, 25 Nov 2015 15:45:53 +0100 Subject: [PATCH] server-shutdown: always git push ~/org/ We don't care about the SYSENV anymore. --- bba.org | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bba.org b/bba.org index 672c07e2..d0d69f92 100644 --- a/bba.org +++ b/bba.org @@ -142,15 +142,13 @@ Keep track of your important stuff! (interactive) (save-some-buffers) (shell-command "git --work-tree ~/org/ --git-dir ~/org/.git commit -a -m 'autocommit'") + (shell-command "git --work-tree ~/org/ --git-dir ~/org/.git push origin") (if (equal "work" (getenv "SYSENV")) (progn (shell-command "git --work-tree ~/workorg/ --git-dir ~/workorg/.git commit -a -m 'autocommit'") (shell-command "git --work-tree ~/workorg/ --git-dir ~/workorg/.git push origin") - ) - (progn - (shell-command "git --work-tree ~/org/ --git-dir ~/org/.git push origin") - )) - (setq twittering-cert-file nil ) + )) + (setq twittering-cert-file nil) (kill-emacs) ) -- 2.47.3