summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-02-18 13:14:22 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-02-18 13:14:22 +0900
commitd3ab92a14af76782761c942a8c7604dadb20e14b (patch)
tree0336302cfce7371e4430356e0e7435e2d548f9df /.gitconfig
parentea47d9492c0d89fafc7007522bd6da81cec000ed (diff)
downloaddotfiles-d3ab92a14af76782761c942a8c7604dadb20e14b.tar.gz
allow github: git URLs
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitconfig b/.gitconfig
index fdca016d..8d6054fa 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -26,9 +26,14 @@
# my personal repositories cloned via HTTP must be pushed via SSH
[url "ssh://ma/~/local/git/"]
pushInsteadOf = http://spw.sdf.org/git/
+# github pulling and pushing should be correct however I refer to the
+# repo when cloning
[url "git@github.com:"]
pushInsteadOf = https://github.com/
pushInsteadOf = git://github.com/
+ pushInsteadOf = github:
+[url "git://github.com/"]
+ insteadOf = github:
# turn colour on in as many places as possible
[color]