aboutsummaryrefslogtreecommitdiff
path: root/git/gitconfig
blob: 5207efce369840fd656159c692e4883a70ab18a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#
# The user section is intentionally left undefined here, because the name and
# email I want to use for commits varies between contexts and machines (most
# notably when I'm on a work machine). I therefore use an un-versioned script
# in ~/.profile.d to do this that looks something like the following:
#
#     GIT_AUTHOR_NAME='Tom Ryder'
#     GIT_AUTHOR_EMAIL='tom@sanctum.geek.nz'
#     GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME
#     GIT_COMMITTER_EMAIL=$GIT_AUTHOR_EMAIL
#     export GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL
#
[advice]
    statusHints = false

[alias]
    ack = grep --break --heading --line-number --extended-regexp

[color]
    ui = true

[diff]
    tool = vimdiff

[difftool]
    prompt = false

[grep]
	extendRegexp = true
    lineNumber = true

[log]
    date = local

[push]
    default = matching