gitconfig: First commit.

It doesn't have user nor github blocks, see http://help.github.com/ for help about adding them.

I am probably soon committing my vimrc too.
This commit is contained in:
Mika Suomalainen 2011-12-31 21:28:31 +02:00
parent 894b38dff2
commit 02f594ae4a
2 changed files with 18 additions and 0 deletions

View File

@ -3,3 +3,4 @@
cat bashrc > ~/.bashrc
cat tmux.conf > ~/.tmux.conf
cat zshrc > ~/.zshrc
#cat gitconfig > ~/.gitconfig # I usually do not want this to be overridden so much.

17
gitconfig Normal file
View File

@ -0,0 +1,17 @@
[alias]
# From https://github.com/blog/985-git-io-github-url-shortener#comment-15121
shorten = "!sh -c 'curl -i http://git.io -F url=$1' -"
# From http://progit.org/book/ch2-7.html
last = cat-file commit HEAD
[core]
editor = vim
[color]
# From git manpage and http://book.git-scm.com/5_customizing_git.html
branch = true
diff = true
grep = true
interactive = true
pager = true
showbranch = true
status = true
ui = true