Last active
November 10, 2016 05:39
-
-
Save baopham/4223990 to your computer and use it in GitHub Desktop.
.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
; GistID: 4223990 | |
[user] | |
name = Bao Pham | |
email = "(none)" | |
[github] | |
user = baopham | |
[color] | |
ui = auto | |
branch = auto | |
diff = auto | |
interactive = auto | |
status = auto | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
[alias] | |
st = status | |
wdiff = diff --color-words | |
apw = add--interactive-words --patch=stage -- | |
ap = add -p | |
ci = commit -v | |
co = checkout | |
br = branch | |
plog = log --date=relative --pretty=format:"%h%x09%an%x09%ad%x09%x09%s" --graph --decorate | |
llog = log --graph --decorate --pretty=oneline --abbrev-commit | |
sup = "submodule foreach git co master; git pull origin master" | |
sco = "submodule git co master" | |
unstage = reset HEAD -- | |
pullre = pull --rebase | |
blog = log --topo-order --graph -u -L | |
last = log -1 HEAD | |
workemail = config user.email "[email protected]" | |
personalemail = config user.email "[email protected]" | |
cd = "!d=\"$(date -d \"$1\")\" && shift && GIT_COMMITTER_DATE=\"$d\" \ | |
git commit --amend --date \"$d\"" | |
[core] | |
excludesfile = ~/.gitignore_global | |
quotepath = false | |
pager = less -+S | |
whitespace = trailing-space,space-before-tab | |
[web] | |
browser = open | |
[apply] | |
whitespace = fix | |
[filter "media"] | |
required = true | |
clean = git media clean %f | |
smudge = git media smudge %f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outdated. Please see https://github.com/baopham/ansible-mac/blob/master/files/gitconfig