.gitconfig
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 27 Mar 2015 15:05:50 +0200
changeset 737 ead952765cf1
parent 731 17d67f65193b
child 763 0070d0ec18d2
permissions -rw-r--r--
Add a lot of formats.

# -*- 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
glog = log --all --graph

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

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

[color]
branch = auto
diff = auto
grep = auto
interactive = auto
pager = true
showbranch = auto
status = auto
ui = auto

[diff]
# 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

[merge]
conflictstyle = diff3

[log]
date = iso

[push]
# Push only current brunch.
default = simple