summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 9f2775da00de14b8814357102074ba9fa0cb6b1b (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
[user]
	name = René 'Necoro' Neumann
	email = necoro@necoro.net
[alias]
	k = !gitk
	ci = commit
	ca = commit -a
	c = commit -a -m
	cm = commit -m
	co = checkout
	d = diff
	dc = diff --cached
	s = status
	st = status
	alias = "!bash -c '[ $# = 2 ] && git config --global alias.\"$1\" \"$2\" && exit 0 || echo \"usage: git alias <new alias> <original command>\" >&2 && exit 1' -"
	ll = log --name-status --decorate -M -C
	com = checkout master
	cleanse = clean -xfd
	spush = svn dcommit
	spull = svn rebase
	sfetch = svn fetch
[push]
	default = current
[diff]
	rename = copy
[core]
	excludesfile = ~/.gitexcludes
[merge]
	tool = vimdiff

# colors :D
[color]
	ui = auto
	status = false
[color "branch"]
	current = yellow bold
	local = yellow dim
	remote = cyan dim
[color "diff"]
	whitespace = red reverse
	frag = magenta
[color "decorate"]
	tag = green bold
	branch = yellow bold

# this allows to write 'nec:bla/blubb'
[url "git://git.necoro.eu/"]
	insteadOf = "nec:"

[url "ssh://git@git.necoro.eu/"]
	pushInsteadOf = "nec:"

# vim: noexpandtab