Last active
October 7, 2015 10:17
-
-
Save tansengming/3149191 to your computer and use it in GitHub Desktop.
Default gitconfig
This file contains 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
[user] | |
name = SengMing Tan | |
email = [email protected] | |
[alias] | |
b = branch | |
c = commit . | |
co = checkout | |
stat = status | |
s = status | |
h = log --pretty=format:'%Cblue%h %Cgreen %ar%Creset %s' | |
l = log --decorate --oneline | |
current-branch = rev-parse --symbolic-full-name --abbrev-ref HEAD | |
p = !git push origin HEAD:$(git current-branch) | |
follow = !git branch -u origin/$(git current-branch) | |
[color] | |
ui = auto | |
[diff] | |
color = auto | |
rename = copy | |
[pager] | |
color = true | |
[status] | |
color = auto | |
[github] | |
user = tansengming | |
[core] | |
quotepath = false | |
editor = vim | |
[push] | |
default = upstream |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment