.gitconfig
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 20 Oct 2015 00:28:50 +0300
changeset 754 270df5426954
parent 731 17d67f65193b
child 763 0070d0ec18d2
permissions -rw-r--r--
Add preference for Iceweasel.

# -*- 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