Created
October 17, 2013 06:52
-
-
Save juanghurtado/7020192 to your computer and use it in GitHub Desktop.
Git config file
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
[credential] | |
helper = osxkeychain | |
[core] | |
editor = mvim -vf | |
excludesfile = ~/.gitignore | |
pager = less -x2 | |
[alias] | |
st = status -sb | |
ci = commit -m | |
am = commit --amend -C HEAD | |
co = checkout | |
br = branch -va | |
brd = branch -D | |
undo = reset --soft HEAD^ | |
unmerged = ls-files --unmerged | |
untracked = ls-files --other --exclude-standard | |
ignored = ls-files --ignored --exclude-standard | |
l = "!source ~/.githelpers && pretty_git_log" | |
l5 = !git l --max-count=5 | |
l10 = !git l --max-count=10 | |
last = !git l -1 | |
local = !git l `git rev-parse --symbolic-full-name --abbrev-ref HEAD@{u}`..HEAD | |
since-last-tag = !git l `git describe --tags --abbrev=0`..HEAD | |
archive-last-tag = !git archive --format=zip `git describe --tags --abbrev=0` > `git describe --tags --abbrev=0`.zip | |
[color] | |
branch = auto | |
diff = auto | |
interactive = auto | |
status = auto | |
ui = auto | |
[apply] | |
whitespace = nowarn | |
[push] | |
default = matching |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment