Add history alias to gitconfig

This commit is contained in:
Daniel Lynn 2021-07-21 13:17:30 -05:00
parent 0779a63676
commit 12d3671b52
Signed by: daniel
GPG Key ID: 28496A140E180A9D

View File

@ -17,6 +17,7 @@
last = log -1 HEAD
cl = clone
cleanup = "!git branch --merged | egrep -v \"(\\*|master|main|dev|develop)\" | xargs -r git branch -d"
history = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[user]
email = __[email]__
name = __[name]__