old-yadm
earnest ma 2021-07-24 10:40:45 -04:00
parent a4472a9e72
commit e930ed6bfc
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
2 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,7 @@
commitGraph = true commitGraph = true
longpaths = true longpaths = true
editor = nvim editor = nvim
hooksPath = /home/earne/.config/git/hooks
[init] [init]
defaultBranch = main defaultBranch = main

5
.config/git/hooks/post-commit Executable file
View File

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