blob: c119ba71b1eb84eee94d600626eda27782319c57 (
plain) (
tree)
|
|
#!/bin/sh
#
# Copy this file into ~/.calcurse/caldav/hooks/ and mark it executable to
# automatically commit changes after syncing using Git.
cd "$HOME"/.calcurse/
git add apts conf keys todo
if ! git diff-index --quiet --cached HEAD; then
git commit -m "Automatic commit by the post-sync hook"
fi
|