Files
dotfiles/git/hooks/recent.post-merge
Nick Nisi 32e2d1f363 Add default git hooks
This is a set of global, reusable git hooks that can be added to any git
project
2013-07-27 10:58:35 -05:00

9 lines
229 B
Bash
Executable File

#!/bin/bash
echo ""
echo ""
echo -e "\033[1m RECENT COMMITS \033[0m"
git log -n5 --graph --pretty=format:'%Cred%h%Creset %an: %s - %Creset %C(yellow)%d%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
echo ""
echo ""