Skip to content

Instantly share code, notes, and snippets.

@irontoby
Last active January 2, 2016 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irontoby/8248086 to your computer and use it in GitHub Desktop.
Save irontoby/8248086 to your computer and use it in GitHub Desktop.
my gitconfig
[push]
default = upstream
[guitool "Rebase onto..."]
cmd = git rebase
revprompt = yes
[guitool "Rebase/Continue"]
cmd = git rebase --continue
[guitool "Rebase/Skip"]
cmd = git rebase --skip
[guitool "Rebase/Abort"]
cmd = git rebase --abort
[guitool "Pull with Rebase"]
cmd = git pull --rebase
[alias]
outgoing = log --pretty=oneline --graph --abbrev-commit @{u}..
incoming = "!git remote update -p; git hist ..@{u}"
lol = log --graph --decorate=no --pretty=format:'%C(bold red)%h%Creset %s %Cgreen(%cr) %C(bold cyan)<%aN>%C(auto) %w(90,0,0)%+d' --abbrev-commit
hist = log --graph --decorate=no --pretty=format:'%C(bold red)%h%Creset %s %Cgreen(%cr) %C(bold cyan)<%aN>%C(auto) %w(90,0,0)%+d' --abbrev-commit --branches
st = status
co = checkout
tci = tfs checkintool
[mailmap]
file = c:/Users/tobias.johnson/.mailmap
[color "decorate"]
remoteBranch = bold green
branch = bold yellow
[core]
autocrlf = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment