Created
August 26, 2016 16:21
-
-
Save Kwpolska/9b56982bb3c1e9af74d1e8c5c4331758 to your computer and use it in GitHub Desktop.
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
[user] | |
name = Chris Warrick | |
email = kwpolska@gmail.com | |
username = Kwpolska | |
[color] | |
ui = 1 | |
diff = auto | |
status = auto | |
branch = auto | |
[github] | |
user = Kwpolska | |
[alias] | |
vimdiff = difftool --tool=vimdiff --no-prompt | |
lg1 = log --graph --abbrev-commit --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 | |
lg2 = log --graph --abbrev-commit --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 | |
lg = !"git lg1" | |
lgr = log --graph --abbrev-commit --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)' | |
amend = !"EDITOR='true' git commit --amend" | |
shortid = rev-parse --short HEAD | |
id = rev-parse HEAD | |
co = !gitco | |
counts = !"git log --pretty='format:%an' | sort | uniq -c | sort --numeric --reverse" | |
gcounts = log --pretty='format:%an' | |
fcounts = !"sort | uniq -c | sort --numeric --reverse" | |
cleanbranches = !"git branch --merged | egrep -v '(^\\*|master|dev)' | xargs git branch -d" | |
[push] | |
default = matching | |
followTags = true | |
[pull] | |
rebase = true | |
[merge] | |
tool = vimdiff | |
[gui] | |
fontui = -family Roboto -size 10 -weight normal -slant roman -underline 0 -overstrike 0 | |
fontdiff = -family Consolas -size 11 -weight normal -slant roman -underline 0 -overstrike 0 | |
[filter "lfs"] | |
clean = git-lfs clean %f | |
smudge = git-lfs smudge %f | |
required = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment