summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 47039d65ee72a37938df58fcdf9c7b87aa416e51 (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
68
69
70
71
72
73
74
75
[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 = ~/.gitignore

[alias]
	amend = commit --amend
	co = checkout
	ca = commit --amend
	ci = commit
	br = branch
	d = diff
	dc = diff --cached
	dist = "!git archive --format=tar -v --prefix=$(git describe HEAD)/ $(git describe HEAD) | bzip2 -9v > ../$(git describe HEAD).tar.bz2"
	ds = diff --stat
	fixes = show --pretty=fixes -s
	ll = log --decorate --graph --pretty=oneline
	lp = log -p
	ls = ls-files
	s = status -s
	st = status
	up = pull --rebase --autostash origin master
	cr = codereview
	change = codereview change
	gofmt = codereview gofmt
	mail = codereview mail -trust
	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

[pull]
	ff = only

[merge]
	tool = vimdiff

[grep]
	lineNumber = true

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

[stash]
	showPatch = true

[tag]
	sort = version:refname

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