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

5 lines
121 B
Bash
Executable File

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