.gitconfig
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 21 Jan 2011 01:02:53 +0200
changeset 116 a8fea1f09a09
child 194 fd20e9da8dac
permissions -rwxr-xr-x
Config for git.

# -*- mode: conf -*-

[user]
name = Oleksandr Gavenko
email = gavenkoa@gmail.com

[alias]
br = branch
ci = commit -a
co = checkout
cp = cherry-pick
graph = log --graph --oneline --decorate
info = config --list
pop = !git stash apply && git stash clear
sb = show-branch
st = status
staged = diff --cached
summary = log --oneline
tags = tag -n1 -l
w = whatchanged

[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = ~/.gitignore

[apply]
# fix/strip/nowarn
# whitespace = strip

[diff]
color = auto
# Makes the diff much shorter when moving or copying files.
rename = copy

# The number of files to consider when performing the copy/rename
# detection; equivalent to the git diff option -l.
# renamelimit = 0

[pager]
color = true

[status]
color = auto

[color]
branch = auto
diff = auto
interactive = auto
status = auto

pager = true
ui = true