.gitconfig
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 05 Sep 2017 17:35:44 +0300
changeset 885 bfbd7fdc89f8
parent 879 274f5f8ff1a5
child 889 7e51f0012eb6
permissions -rw-r--r--
https://superuser.com/questions/1247541/make-bash-completion-to-ignore-exe-extention-in-cygwin https://superuser.com/questions/1072481/tab-completion-for-command-arguments-fail-in-cygwin-due-to-exe-suffix https://github.com/scop/bash-completion/issues/164

# -*- mode: conf -*-

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

[alias]
br = branch
ci = commit
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
autocrlf = input
safecrlf = warn
eol = lf
filemode = false

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

[color]
pager = true
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