Created
June 16, 2020 16:55
-
-
Save jsjoeio/6b64aabe0b96b9897e867251044aab13 to your computer and use it in GitHub Desktop.
Obsidan - sync with git
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# function to push to git | |
function gitpush() { | |
git add . | |
git commit -a -m "add notes" | |
git push | |
} | |
# aliases | |
alias vault="cd dev/obsidian-vault && git pull" | |
alias vaultpush="cd dev/obsidian-vault && gitpush" | |
alias vaultp="vaultpush" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment