nsbin/sync-all-repos

19 lines
334 B
Bash
Executable File

#!/bin/sh
set -e
for repo in ~/.ctt \
~/bin \
~/vcs/notes \
~/vcs/nico-dot-cdist \
~/vcs/mindmap \
~/.password-store \
; do
echo $repo
cd $repo
git add .
git commit -m "updated by $0" || true
git pull
git push
done