.gitconfig
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 25 Apr 2012 19:42:00 +0300
changeset 434 c66a176a8af9
parent 194 fd20e9da8dac
child 456 dc10370dab78
permissions -rw-r--r--
Switch input method.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
116
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     1
# -*- mode: conf -*-
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     2
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
[user]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
name = Oleksandr Gavenko
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
email = gavenkoa@gmail.com
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
[alias]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
br = branch
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
ci = commit -a
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
co = checkout
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
cp = cherry-pick
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
graph = log --graph --oneline --decorate
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
info = config --list
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    14
pop = !git stash apply && git stash clear
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    15
sb = show-branch
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    16
st = status
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    17
staged = diff --cached
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    18
summary = log --oneline
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    19
tags = tag -n1 -l
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
w = whatchanged
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    21
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
[core]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
excludesfile = ~/.gitignore
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
[apply]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
# fix/strip/nowarn
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
# whitespace = strip
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    29
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    30
[diff]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
color = auto
194
fd20e9da8dac Add more colors to output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 116
diff changeset
    32
status = auto
fd20e9da8dac Add more colors to output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 116
diff changeset
    33
branch = auto
116
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
# Makes the diff much shorter when moving or copying files.
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
rename = copy
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
# The number of files to consider when performing the copy/rename
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
# detection; equivalent to the git diff option -l.
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
# renamelimit = 0
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
[pager]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    42
color = true
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    43
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
[status]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
color = auto
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
[color]
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
branch = auto
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
diff = auto
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
interactive = auto
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
status = auto
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
pager = true
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
ui = true
a8fea1f09a09 Config for git.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55