add git config

This commit is contained in:
youngcw 2023-09-09 17:11:54 -07:00
parent 1fc167a3fc
commit 6889586027

12
.gitconfig Normal file
View File

@ -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"