sync-all-repos 312 Bytes
Newer Older
1 2 3 4 5 6
#!/bin/sh

set -e

for repo in ~/.ctt \
                ~/vcs/notes/ \
7
                ~/vcs/nico-dot-cdist \
8 9 10
                ~/vcs/mindmap/ \
                ~/.password-store \
            ; do
Nico Schottelius's avatar
Nico Schottelius committed
11
    echo $repo
12 13
    cd $repo
    git add .
Nico Schottelius's avatar
Nico Schottelius committed
14
    git commit -m "updated by $0"  || true
15 16 17
    git pull
    git push
done