Skip to content

Instantly share code, notes, and snippets.

@eunleem
Created July 5, 2017 18:01
Show Gist options
  • Save eunleem/5763664647bc4a11e00371b352f85352 to your computer and use it in GitHub Desktop.
Save eunleem/5763664647bc4a11e00371b352f85352 to your computer and use it in GitHub Desktop.
gitconfig
[branch]
autosetuprebase = always
[user]
name = Eun Leem
email = team88.eleem@gmail.com
[diff]
tool = vim
[merge]
tool = vim
[core]
editor = vim
[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
lg1a = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%x09%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
lg3 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset)%C(bold yellow)%d%C(reset) %C(white)%s%C(reset) %C(bold green)(%ar)%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg3"
st = status
[difftool]
prompt = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment