Last active
April 13, 2018 10:18
-
-
Save rosterloh/d29dbd62f03518a03998fc674ea7c9ee to your computer and use it in GitHub Desktop.
My git aliases
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
[color] | |
ui = true | |
[alias] | |
gl = log --oneline -n 10 | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
co = checkout | |
upstream-merge = !"git fetch origin -v && git fetch upstream -v && git merge upstream/master && git push" | |
[core] | |
pager = diff-so-fancy | less --tabs=4 -RFX | |
[color "diff-highlight"] | |
oldNormal = red bold | |
oldHighlight = red bold 52 | |
newNormal = green bold | |
newHighlight = green bold 22 | |
[color "diff"] | |
meta = yellow | |
frag = magenta bold | |
commit = yellow bold | |
old = red bold | |
new = green bold | |
whitespace = red reverse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment