From 12d3671b52577c19d965a4f78dbaf12ad853b01b Mon Sep 17 00:00:00 2001 From: Daniel Lynn Date: Wed, 21 Jul 2021 13:17:30 -0500 Subject: [PATCH] Add history alias to gitconfig --- gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/gitconfig b/gitconfig index 851e1f9..5969443 100644 --- a/gitconfig +++ b/gitconfig @@ -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]__