From 68895860275e38fa6786ccab3a28461e122a09e3 Mon Sep 17 00:00:00 2001 From: youngcw Date: Sat, 9 Sep 2023 17:11:54 -0700 Subject: [PATCH] add git config --- .gitconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .gitconfig diff --git a/.gitconfig b/.gitconfig new file mode 100644 index 0000000..37d0f58 --- /dev/null +++ b/.gitconfig @@ -0,0 +1,12 @@ +[user] + email = calebyoung94@gmail.com + name = youngcw +[push] + default = simple +[core] + editor = vim +[alias] + lg1=log --graph --abbrev-commit --decorate --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)%ar%C(reset) %C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(red)<%an>%C(reset)' --all + lgs=log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%ar>%Creset' --abbrev-commit + lg=!"git lg2"