sync repos: and sub repos for cdist

This commit is contained in:
Nico Schottelius 2021-03-16 15:10:24 +01:00
parent dc726cf468
commit 31d2387412

View file

@ -6,18 +6,24 @@ for repo in ~/.ctt \
~/bin \ ~/bin \
~/vcs/notes \ ~/vcs/notes \
~/vcs/nico-dot-cdist \ ~/vcs/nico-dot-cdist \
~/vcs/cdist-workdir \
~/.password-store \ ~/.password-store \
; do ; do
echo $repo echo $repo
cd $repo cd $repo
if [ $repo = ~/.password-store ]; then case $repo in
git checkout master ~/.password-store)
git add . git checkout master
git commit -m "updated by $0" || true git add .
git pull git commit -m "updated by $0" || true
git checkout nico-privat git pull
fi git checkout nico-privat
;;
~/vcs/cdist-workdir)
mr update
;;
esac
git add . git add .
git commit -m "updated by $0 on $(hostname)" || true git commit -m "updated by $0 on $(hostname)" || true