12 lines
209 B
Text
12 lines
209 B
Text
|
#!/usr/bin/env bash
|
||
|
|
||
|
for wiki in ~/vimwiki/*
|
||
|
do
|
||
|
echo Synching $wiki
|
||
|
git -C $wiki pull --rebase --autostash
|
||
|
git -C $wiki add .
|
||
|
git -C $wiki commit -a -n -m "Auto-update"
|
||
|
git -C $wiki push
|
||
|
echo done.
|
||
|
done
|