[user] #email = wen@airtightdesign.com #name = Wen Nutt [core] pager = cat [color] ui = auto [color "status"] unmerged = yellow [push] default = simple [remote "origin"] prune = true [alias] #NOTE ! before a command is to escape the current shell #Pretty Timeline Logs lg1 = log --graph --abbrev-commit --decorate --format=tformat:'%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=tformat:'%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" #shorthand for status st = !"git status" # easy way to get current commit id = !"git rev-parse --short HEAD && git name-rev --name-only HEAD" id-full = rev-parse HEAD #mercurial update = checkout # short alias for branch info br = branch --all --verbose # show local and remote of current branch lr = "!f(){ git branch --all --verbose --list \"*$(git name-rev --name-only HEAD)*\" ; };f" [filter "lfs"] process = git-lfs filter-process required = true clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f