From a5ac357f7502cd4f229736561fc4135c302582ee Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sat, 25 Nov 2017 20:08:58 +0100 Subject: [PATCH] Add script to sync all repos --- sync-all-repos | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 sync-all-repos diff --git a/sync-all-repos b/sync-all-repos new file mode 100755 index 0000000..b21e0ee --- /dev/null +++ b/sync-all-repos @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +for repo in ~/.ctt \ + ~/vcs/notes/ \ + ~/vcs/ungleich-administrativ/ \ + ~/vcs/mindmap/ \ + ~/.password-store \ + ; do + cd $repo + git add . + git commit -m "updated by $0" + git pull + git push +done