Quartz
Cron
0 0 * * * cd ~/Developer/Projects/quartz &&
npx quartz syncSync
npx quartz syncMerge Upstream
- Fetch
- Remove symlink
- Merge
- Push
Symlink
cd ~/Developer/Projects/quartz &&
rm -rf ./content &&
ln -s ~/Library/Mobile\ Documents/iCloud\~md\~obsidian/Documents/Vault . &&
mv ./Vault ./contentiCloud
iCloud syncing issue can be solved by removing the suffix added by iCloud
https://stackoverflow.com/questions/72515916/git-fatal-bad-object-refs-heads-2-master