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

6 lines
143 B
Bash
Executable File

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