X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=update_org_files;h=0e0f6ab27e11af1412c0b170fac3e2c17ea2adaf;hb=dcce90e77c92202b5fadca48de6fd1cefc41ff79;hp=2b2692d03761f82ef13584f77f842eaa645d7984;hpb=829ddbc623f19d45d5ea2c1f73b8081d4ca8ba13;p=bin.git diff --git a/update_org_files b/update_org_files index 2b2692d..0e0f6ab 100755 --- a/update_org_files +++ b/update_org_files @@ -8,7 +8,8 @@ if [ "x$1" == "xdoit" ]; then sed -z 's/^ M[[:space:]]*//g' | \ xargs -0 git commit -m'update org files' git push; - fi; + fi; + git pull; else emacsclient -n -e '(org-save-all-org-buffers)' >/dev/null 2>&1 mr -d ~/projects/org-notes -j5 run update_org_files doit;