]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
server-shutdown: always git push ~/org/
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 25 Nov 2015 14:45:53 +0000 (15:45 +0100)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Wed, 25 Nov 2015 14:45:53 +0000 (15:45 +0100)
We don't care about the SYSENV anymore.

bba.org

diff --git a/bba.org b/bba.org
index 672c07e28b0bc4efd8024a418c274556870de14c..d0d69f92a8f4f908474d8cff501f42b0c78c82bd 100644 (file)
--- 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)
     )