Skip to content

Instantly share code, notes, and snippets.

@cmaspi
Created January 5, 2023 07:21
Show Gist options
  • Save cmaspi/86355eef2b128dee6c2bb21a47126488 to your computer and use it in GitHub Desktop.
Save cmaspi/86355eef2b128dee6c2bb21a47126488 to your computer and use it in GitHub Desktop.
sync notes in obsidian with github
function sync-notes
set curr_dir (pwd)
cd ~/Obsidian/Research-Summary/
git pull
git add .
git commit -m "$argv"
git push
cd $curr_dir
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment