mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
chore: add binary folder
This commit is contained in:
12
bin/zettelkasten-sync
Executable file
12
bin/zettelkasten-sync
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
cd $HOME/Library/Mobile\ Documents/iCloud\~md\~obsidian/Documents/Zettelkasten/
|
||||
gstatus=`git status --porcelain`
|
||||
|
||||
if [ ${#gstatus} -ne 0 ]
|
||||
then
|
||||
git add --all
|
||||
git commit -m `date +%Y-%m-%d-%H%m%S`
|
||||
git pull --rebase
|
||||
git push
|
||||
fi
|
||||
Reference in New Issue
Block a user