Skip to content

Instantly share code, notes, and snippets.

@roelven
Created January 20, 2011 16:13
Show Gist options
  • Select an option

  • Save roelven/788106 to your computer and use it in GitHub Desktop.

Select an option

Save roelven/788106 to your computer and use it in GitHub Desktop.
.git config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = 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 = yellow
changed = green
untracked = cyan
[alias]
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; mate `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
branch-checkout = !sh -c 'git checkout --track -b "$1" "origin/$1"' -
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:soundcloud/soundcloud.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment