Add script to sync all repos
This commit is contained in:
parent
f140bbe81e
commit
a5ac357f75
1 changed files with 16 additions and 0 deletions
16
sync-all-repos
Executable file
16
sync-all-repos
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
for repo in ~/.ctt \
|
||||
~/vcs/notes/ \
|
||||
~/vcs/ungleich-administrativ/ \
|
||||
~/vcs/mindmap/ \
|
||||
~/.password-store \
|
||||
; do
|
||||
cd $repo
|
||||
git add .
|
||||
git commit -m "updated by $0"
|
||||
git pull
|
||||
git push
|
||||
done
|
Loading…
Reference in a new issue