summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: d61aae9ef9373cae1023461e0736d47577747621 (plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[user]
	name = Tobias Klauser
	email = tklauser@distanz.ch
	signingkey = B5510F47

[core]
	abbrev = 12
	whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
	excludesfile = /home/tobiask/.gitignore

[alias]
	co = checkout
	st = status
	ci = commit
	br = branch
	d = diff
	ds = diff --stat
	fixes = show --pretty=fixes -s
	lp = log -p
	dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | bzip2 -9v > ../$(git describe HEAD).tar.bz2"
	up = pull --rebase --autostash origin master
	cr = codereview
	change = codereview change
	gofmt = codereview gofmt
	mail = codereview mail
	pending = codereview pending
	submit = codereview submit
	sync = codereview sync
	today = commit --amend --date=now --no-edit

[pretty]
	fixes = Fixes: %h (\"%s\")
	commit = %h (\"%s\")

[color]
	ui = true
	diff = auto
	branch = auto
	status = auto

[color "diff"]
	whitespace = red reverse

[push]
	default = matching

[merge]
	tool = vimdiff

[grep]
	lineNumber = true

[sendemail]
	smtpserver = mail.zhinst.com
	suppresscc = self
	bcc = Tobias Klauser <tklauser@distanz.ch>

[stash]
	showPatch = true

[tag]
	sort = version:refname

[versionsort]
	prereleaseSuffix = -rc
[http]
	cookiefile = /home/tobiask/.gitcookies