nsbin/sync-all-repos

18 lines
321 B
Text
Raw Normal View History

2017-11-25 20:08:58 +01:00
#!/bin/sh
set -e
for repo in ~/.ctt \
~/vcs/notes/ \
~/vcs/mindmap/ \
2017-11-25 23:03:30 +01:00
~/vcs/ungleich-administrativ/ \
2017-11-25 20:08:58 +01:00
~/.password-store \
; do
2017-11-25 23:03:30 +01:00
echo $repo
2017-11-25 20:08:58 +01:00
cd $repo
git add .
2017-11-25 23:03:30 +01:00
git commit -m "updated by $0" || true
2017-11-25 20:08:58 +01:00
git pull
git push
done