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

5 lines
127 B
Bash
Executable File

#!/usr/bin/env bash
COMMIT_SHA=$(git log -1 HEAD --format=reference)
notify-send 'Git commit success: ' "$COMMIT_SHA" -u low