Last active
December 12, 2015 03:48
-
-
Save jnf/4709690 to your computer and use it in GitHub Desktop.
My Favorite .gitconfig settings/aliases/whatevs
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
[alias] | |
pretty = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
ll = log --stat --abbrev-commit | |
d = diff --color-words | |
s = status | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
#Highlight whitespace in diffs | |
whitespace = red reverse | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = cyan | |
[core] | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try
this allows you to do
git push
and have it push to origin master.