summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: f1c11bc92f1a5b1a0f8076652824c6ae61a178ba (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
[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
	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 --color -M -C
	com = checkout master
	cleanse = clean -xfd
	spush = svn dcommit
	spull = svn rebase
	sfetch = svn fetch
[push]
	default = tracking
[diff]
	rename = copy
[core]
	excludesfile = ~/.gitexcludes

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

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

# vim: noexpandtab