Add script to sync all repos

This commit is contained in:
Nico Schottelius 2017-11-25 20:08:58 +01:00
parent f140bbe81e
commit a5ac357f75
1 changed files with 16 additions and 0 deletions

16
sync-all-repos Executable file
View File

@ -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