Skip to content

Instantly share code, notes, and snippets.

@burczyk
Created January 29, 2014 16:52
Show Gist options
  • Save burczyk/8692095 to your computer and use it in GitHub Desktop.
Save burczyk/8692095 to your computer and use it in GitHub Desktop.
.gitconfig backup
[user]
name = Kamil Burczyk
email = [email protected]
[core]
excludesfile = /Users/kamil/.gitignore_global
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = cyan
deleted = red
[alias]
pom = push origin master
phm = push heroku master
phd = push heroku-dev develop:master
st = status
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"
sup = submodule foreach git pull
[push]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment