summaryrefslogtreecommitdiff
path: root/.gitconfig
blob: 76c8e4448feebbd7093910b703af83e2da42dbdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[user]
	name = René 'Necoro' Neumann
	email = necoro@necoro.net
[alias]
	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
[push]
	default = tracking
[diff]
	rename = copy

# vim: noexpandtab