Created
September 24, 2024 03:36
-
-
Save oldtune/505c4bb3034f77cf067173998aaea611 to your computer and use it in GitHub Desktop.
Obsidian git wrapper for windows
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
# Note that this script is executed using powershell | |
# The limitation of this is that we can only use 1 instance of Obsidian on 1 machine at the time. Otherwise, there could be confliction and would requires manually resolved. | |
git pull | |
Start-Process "C:\Program Files\Obsidian\Obsidian.exe" -Wait | |
git add . | |
git commit -m "auto commit by system" | |
git push |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment