From 293abc2c613535beb99fa24eed0210186189ef74 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Mon, 14 Jul 2014 14:46:49 +0200 Subject: [PATCH] git alias and some github/bitbucket config --- .gitconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.gitconfig b/.gitconfig index 4b6a952..723ed7f 100644 --- a/.gitconfig +++ b/.gitconfig @@ -16,9 +16,26 @@ co = checkout ci = commit br = branch + c = commit -am [push] default = simple [core] editor = vim + +[url "git@github.com:"] + insteadOf = "gh:" + pushInsteadOf = "github:" + pushInsteadOf = "git://github.com/" + +[url "git://github.com/"] + insteadOf = "github:" + +[url "git@bitbucket.org:"] + insteadOf = "bb:" + pushInsteadOf = "bitbucket:" + pushInsteadOf = "git://bitbucket.org/" + +[url "git://bitbucket.org/"] + insteadOf = "bitbucket:"