리눅스(ubuntu)/Git 관련

개인용 .gitconfig 파일

감데공 2018. 2. 19. 09:37

[user]

name = WoonHak, Kong

email = whkong@XXX.co.kr

[alias]

st = status

co = checkout

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"

ut = ls-files --others --exclude-standard

[pull]

rebase = true

[core]

# autocrlf = input

# whitespace = trailing-space,space-before-tab,cr-at-eol

 

[push]

default = simple

[color]

ui = auto