X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=blobdiff_plain;f=update_org_files;fp=update_org_files;h=0e0f6ab27e11af1412c0b170fac3e2c17ea2adaf;hp=2b2692d03761f82ef13584f77f842eaa645d7984;hb=d948069ff827db74bfa952f4faa6e8025cbb7d9b;hpb=c3047fc3f7436dd1cba629c3d4d970df214ffa88 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;