Skip to content

Instantly share code, notes, and snippets.

View oldtune's full-sized avatar
🤪
Quack Quack!

Quack Quack oldtune

🤪
Quack Quack!
View GitHub Profile
@oldtune
oldtune / open_obsidian.ps1
Created September 24, 2024 03:36
Obsidian git wrapper for windows
# 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