Last active
January 19, 2016 19:28
-
-
Save fimmtiu/64898a808a81e428392f to your computer and use it in GitHub Desktop.
fimmtiu's .gitconfig 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
[user] | |
name = Dennis Taylor | |
email = dennis.taylor@clio.com | |
[color] | |
ui = auto | |
[alias] | |
s = status | |
st = stash | |
co = checkout | |
cm = commit | |
d = diff | |
di = diff --cached | |
ds = diff --stat | |
b = branch | |
f = fetch | |
m = merge | |
r = rebase | |
ra = rebase --abort | |
rs = rebase --skip | |
rc = rebase --continue | |
ri = "!f() { git rebase --interactive head~$1; }; f" | |
lo = log --oneline | |
lh = "!f() { git log --oneline --color $1 | head -6; }; f" | |
cb = rev-parse --symbolic-full-name --abbrev-ref HEAD | |
cdiff = log --left-right --graph --cherry-pick --oneline | |
pick = cherry-pick | |
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue) %an%Creset' --abbrev-commit --date=relative | |
today = log --all --date=short --since=1.day.ago --no-merges --author=dennis.taylor | |
up = !"git push --set-upstream dennis `git cb`" | |
fix = !"git fetch origin && git rebase origin/`git cb` && git push dennis `git cb`" | |
staging = log --oneline --no-merges master..staging | |
which = branch -a --contains | |
setup = "!f() { git branch --set-upstream-to=$1/`git cb` `git cb`; }; f" | |
[github] | |
user = fimmtiu | |
token = blargh | |
[core] | |
excludesfile = /Users/dennis/.gitignore_global | |
[diff] | |
renames = copies | |
[merge] | |
stat = true | |
[push] | |
default = current |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment