27 lines
529 B
Bash
Executable file
27 lines
529 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
|
|
|
|
if [ $repo = ~/.password-store ]; then
|
|
git checkout master
|
|
git add .
|
|
git commit -m "updated by $0" || true
|
|
git pull
|
|
git checkout nico-privat
|
|
fi
|
|
|
|
git add .
|
|
git commit -m "updated by $0" || true
|
|
git pull
|
|
git push
|
|
done
|