summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: dba2ed415c13bd92e076ea58ebd380d9412ee937 (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
[user]
	name = René 'Necoro' Neumann
	email = necoro@necoro.net
[alias]
	k = !gitk
	ci = commit
	ca = commit -a
	c = commit -a -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