From: Andreas Gerler Date: Wed, 25 Nov 2015 14:45:53 +0000 (+0100) Subject: server-shutdown: always git push ~/org/ X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=8d7a81b2c17073fea75b8cf8ac8c50507136517d;p=emacsconfig.git server-shutdown: always git push ~/org/ We don't care about the SYSENV anymore. --- 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) )