Skip to content

Instantly share code, notes, and snippets.

@milenkovicm
Created March 26, 2012 14:22
Show Gist options
  • Save milenkovicm/2205432 to your computer and use it in GitHub Desktop.
Save milenkovicm/2205432 to your computer and use it in GitHub Desktop.
GIT .git/config - if you ever forget how to track remote branch
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
autocrlf = false
[color]
branch = auto
diff = auto
status = 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
[remote "origin"]
url = ssh://marko@some.server.com
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "aBranchName"]
remote = origin
merge = refs/heads/aBranchName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment