Skip to content

Instantly share code, notes, and snippets.

@abhiesa-tolexo
Forked from alinpopa/.gitconfig
Created December 5, 2015 13:32
Show Gist options
  • Save abhiesa-tolexo/15c6b86a7e392983fb81 to your computer and use it in GitHub Desktop.
Save abhiesa-tolexo/15c6b86a7e392983fb81 to your computer and use it in GitHub Desktop.
Git .gitconfig
[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
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment