From 407092c1d25bee01bd887e3032f6b17e6e973b13 Mon Sep 17 00:00:00 2001 From: Scott Wallace Date: Mon, 23 Mar 2015 09:43:45 +0000 Subject: [PATCH] Added a nicer way to view Git logs. --- .gitconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..30b3843 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,17 @@ +[user] + name = Scott Wallace + email = scottwallace@ucds.email +[push] + default = simple +[pack] + deltaCacheSize = 256m + packSizeLimit = 256m + windowMemory = 256m +[core] + packedGitLimit = 128m + packedGitWindowSize = 128m + +[alias] + lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all + lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all + lg = !"git lg1"