summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: e6a41d94a0151bc4b523f71b0ae89bb573937228 (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
[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
	cob = "!sh -c 'git checkout -b $1 origin/$1' -"
	com = checkout master
	col = checkout local
	cleanse = clean -xfd
[push]
	default = tracking
[diff]
	rename = copy

# vim: noexpandtab