Created
February 23, 2018 01:09
-
-
Save tzhenghao/c9b9a926c3018fcfc2d4fc477d407ffc to your computer and use it in GitHub Desktop.
My Git configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is Git's per-user configuration file. | |
[user] | |
name = tzhenghao | |
email = [email protected] | |
[alias] | |
all = add . | |
cl = clone | |
co = checkout | |
cob = checkout -b | |
com = commit -m | |
df = diff | |
dfw = diff --word-diff | |
glog = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
lg = log | |
prune = fetch --prune | |
rb = rebase | |
rst = reset | |
rstall = reset HEAD . | |
st = status | |
stats = shortlog -sn | |
sth = stash | |
u = add -u | |
undo = reset --soft HEAD^ | |
[diff] | |
tool = icdiff | |
[difftool] | |
prompt = false | |
[difftool "icdiff"] | |
cmd = /usr/local/bin/icdiff --line-numbers $LOCAL $REMOTE | |
[color "status"] | |
added = green | |
changed = yellow bold | |
untracked = red bold | |
[transfer] | |
fsckobjects = true | |
[fetch] | |
fsckobjects = true | |
[receive] | |
fsckobjects = true | |
[push] | |
followTags = true | |
[status] | |
showUntrackedFiles = all | |
[help] | |
autocorrect = 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment