summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
new file mode 100644
index 0000000..76c8e44
--- /dev/null
+++ b/.gitconfig
@@ -0,0 +1,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