Skip to content

Instantly share code, notes, and snippets.

@TzuChiehHung
Last active June 25, 2018 08:21
Show Gist options
  • Save TzuChiehHung/ab0e26a51dd77fe0f79b9e51485d17c1 to your computer and use it in GitHub Desktop.
Save TzuChiehHung/ab0e26a51dd77fe0f79b9e51485d17c1 to your computer and use it in GitHub Desktop.
[git config] #git #config
[user]
email = hungtc@solab.me.ntu.edu.tw
name = tc.hung
[core]
editor = vim
ignorecase = false
[push]
default = matching
[alias]
tree = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(cyan)%ar%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)' --all
tree-detail = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) %C(white)%s%C(reset)%C(auto)%d%C(reset)%n'' %C(cyan)%aD%C(reset) %C(green)(%ar)%C(reset) %C(cyan)(committed: %cD)%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)%n' --all
last = log -1 HEAD
[color]
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment