Last active
August 29, 2015 13:57
-
-
Save gabssnake/9368853 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
[core] | |
excludesfile = ~/.gitignore_global | |
editor = subl | |
[color] | |
ui = auto | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
grep = always | |
[credential] | |
helper = osxkeychain | |
[push] | |
default = current | |
[branch] | |
autosetuprebase = always | |
[alias] | |
s = status -sb | |
lol = log --graph --decorate --oneline --all | |
lola = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' | |
log1 = log --graph --pretty=format:'%h -%d %s (%cr) <%an>' | |
log2 = log --graph --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
log3 = log --graph --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all | |
unstage = reset HEAD -- | |
aa = add -A :/ | |
[apply] | |
whitespace = nowarn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment