summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-11-13 11:45:56 -0700
committerSean Whitton <spwhitton@spwhitton.name>2015-11-13 11:45:56 -0700
commit78c8421eac37e9fcb337733c00f11815b76f2d3c (patch)
tree424de7fb82cc2a6d729825e98ec91799e9784684
parentd6ebf20ad89b33ca44dda2c94bb350f805cbfa31 (diff)
downloaddotfiles-78c8421eac37e9fcb337733c00f11815b76f2d3c.tar.gz
update git config insteadOf pushInsteadOf
-rw-r--r--.gitconfig21
1 files changed, 15 insertions, 6 deletions
diff --git a/.gitconfig b/.gitconfig
index 20540878..78daad23 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -23,19 +23,28 @@
pager =
excludesfile = ~/.globgitignore
-# 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@spwhitton.name:"]
+ pushInsteadOf = https://git.spwhitton.name/
+ pushInsteadOf = athena:
+[url "https://git.spwhitton.name/"]
+ insteadOf = git://spwhitton.name/
+ insteadOf = athena:
+
[url "git@github.com:"]
pushInsteadOf = https://github.com/
pushInsteadOf = http://github.com/
pushInsteadOf = git://github.com/
pushInsteadOf = github:
-[url "git://github.com/"]
+[url "https://github.com/"]
+ insteadOf = https://github.com/
+ insteadOf = http://github.com/
+ insteadOf = git://github.com/
insteadOf = github:
+# temporary redirect
+# [url "git@spwhitton.name:"]
+# insteadOf = http://spw.sdf.org/git/
+
# turn colour on in as many places as possible
[color]
ui = true