Skip to content

Instantly share code, notes, and snippets.

@lvaylet
Last active November 28, 2024 19:23
Show Gist options
  • Save lvaylet/edfa3cffb559705ec0978b613c200211 to your computer and use it in GitHub Desktop.
Save lvaylet/edfa3cffb559705ec0978b613c200211 to your computer and use it in GitHub Desktop.
Commit and push changes to Obsidian Vault
#!/usr/bin/env sh
# For commit messages like `2024-11-28T11:06:52`, inside the Vault directory:
# Source: https://phoenixnap.com/kb/linux-date-command
git add . && git commit -m "$(date +"%Y-%m-%dT%T")" && git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment