Created
June 9, 2015 19:20
-
-
Save davidmontoyago/7f60778d3e9e74630124 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
[core] | |
safecrlf = true | |
pager = "less -FX" | |
excludesFile = .gitignore | |
editor = vim | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
type = cat-file -t | |
dump = cat-file -p | |
fullhashlog = "log --graph --abbrev-commit '--format=format:%H %C(yellow)%ci%Creset %Cgreen%an%Creset | %s'" | |
w = whatchanged | |
unpushed = !"PROJ_BRANCH=$(git symbolic-ref HEAD | sed 's|refs/heads/||') && git log origin/$PROJ_BRANCH..HEAD" | |
[color] | |
ui = auto | |
pager = true | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[format] | |
pretty = format:'%Cred%h%Creset -%Cblue%an%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' | |
[push] | |
default = simple |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment