Browse files

Add github and gist url handling

  • Loading branch information...
1 parent 93d1985 commit e48647474439de386ecf4a131660c5b3415ec685 @jyurek committed Mar 15, 2011
Showing with 17 additions and 0 deletions.
  1. +17 −0 gitconfig
View
17 gitconfig
@@ -21,6 +21,9 @@
publish = !sh -c 'git push origin \"$0\" && git config \"branch.$0.remote\" origin && git config \"branch.$0.merge\" \"refs/heads/$0\"'
track = !sh -c 'git config \"branch.$1.remote\" $0 && git config \"branch.$1.merge\" \"refs/heads/$1\"'
l = log --name-status --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue%an%Creset %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
+[merge "gemfilelock"]
+ name = relocks the gemfile.lock
+ driver = bundle lock
[diff]
tool = vimdiff
[difftool "vimdiff"]
@@ -29,3 +32,17 @@
tool = vimdiff
[format]
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cblue%an%Creset %Cgreen(%cr)%Creset
+[url "git@github.com:"]
+ insteadOf = "gh:"
+ pushInsteadOf = "github:"
+ pushInsteadOf = "git://github.com/"
+[url "git://github.com/"]
+ insteadOf = "github:"
+[url "git@gist.github.com:"]
+ insteadOf = "gst:"
+ pushInsteadOf = "gist:"
+ pushInsteadOf = "git://gist.github.com/"
+[url "git://gist.github.com/"]
+ insteadOf = "gist:"
+[url "git@heroku.com:"]
+ insteadOf = "heroku:"

0 comments on commit e486474

Please sign in to comment.