author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 20 Jun 2017 13:40:26 +0300 | |
changeset 862 | 24c14627e34b |
parent 823 | b7c18fdcc666 |
child 879 | 274f5f8ff1a5 |
permissions | -rw-r--r-- |
116 | 1 |
# -*- mode: conf -*- |
2 |
||
3 |
[user] |
|
4 |
name = Oleksandr Gavenko |
|
5 |
email = gavenkoa@gmail.com |
|
6 |
||
7 |
[alias] |
|
8 |
br = branch |
|
862
24c14627e34b
`-a` option to commit causes many troubles to me.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
823
diff
changeset
|
9 |
ci = commit |
116 | 10 |
co = checkout |
11 |
cp = cherry-pick |
|
12 |
graph = log --graph --oneline --decorate |
|
13 |
info = config --list |
|
14 |
pop = !git stash apply && git stash clear |
|
15 |
sb = show-branch |
|
16 |
st = status |
|
17 |
staged = diff --cached |
|
18 |
summary = log --oneline |
|
19 |
tags = tag -n1 -l |
|
20 |
w = whatchanged |
|
718
0507a0b1a45a
git analog of 'hg glog'.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
713
diff
changeset
|
21 |
glog = log --all --graph |
116 | 22 |
|
23 |
[core] |
|
456
dc10370dab78
Remove non-exist option.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
194
diff
changeset
|
24 |
whitespace=-indent-with-non-tab,trailing-space,cr-at-eol |
116 | 25 |
excludesfile = ~/.gitignore |
823
b7c18fdcc666
Ignore UNIX file permission under Windows. Relax CR/LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
764
diff
changeset
|
26 |
autocrlf = true |
b7c18fdcc666
Ignore UNIX file permission under Windows. Relax CR/LF.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
764
diff
changeset
|
27 |
filemode = false |
116 | 28 |
|
29 |
[apply] |
|
30 |
# fix/strip/nowarn |
|
31 |
# whitespace = strip |
|
32 |
||
457
ed6c0bb1a820
Update to new syntax for colouring output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
33 |
[color] |
763
0070d0ec18d2
Swap order to group related options together.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
731
diff
changeset
|
34 |
pager = true |
457
ed6c0bb1a820
Update to new syntax for colouring output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
35 |
ui = auto |
ed6c0bb1a820
Update to new syntax for colouring output.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
456
diff
changeset
|
36 |
|
116 | 37 |
[diff] |
38 |
# Makes the diff much shorter when moving or copying files. |
|
39 |
rename = copy |
|
40 |
||
41 |
# The number of files to consider when performing the copy/rename |
|
42 |
# detection; equivalent to the git diff option -l. |
|
43 |
# renamelimit = 0 |
|
620
e752deb194d3
Use ISO 8601 date format for "git log".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
473
diff
changeset
|
44 |
|
731
17d67f65193b
merge.conflictstyle diff3
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
718
diff
changeset
|
45 |
[merge] |
17d67f65193b
merge.conflictstyle diff3
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
718
diff
changeset
|
46 |
conflictstyle = diff3 |
17d67f65193b
merge.conflictstyle diff3
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
718
diff
changeset
|
47 |
|
620
e752deb194d3
Use ISO 8601 date format for "git log".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
473
diff
changeset
|
48 |
[log] |
e752deb194d3
Use ISO 8601 date format for "git log".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
473
diff
changeset
|
49 |
date = iso |
e752deb194d3
Use ISO 8601 date format for "git log".
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
473
diff
changeset
|
50 |
|
713
c35497e441fd
Push only current brunch.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
51 |
[push] |
c35497e441fd
Push only current brunch.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
52 |
# Push only current brunch. |
c35497e441fd
Push only current brunch.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
53 |
default = simple |
c35497e441fd
Push only current brunch.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
620
diff
changeset
|
54 |