dotfiles/.config/git/hooks/post-commit

5 lines
127 B
Plaintext
Raw Permalink Normal View History

2021-08-25 14:54:09 -04:00
#!/usr/bin/env bash
2021-07-24 10:40:45 -04:00
2021-08-25 14:54:09 -04:00
COMMIT_SHA=$(git log -1 HEAD --format=reference)
notify-send 'Git commit success: ' "$COMMIT_SHA" -u low