about forcing use of GitHub or GitBox
authorStian Soiland-Reyes <stain@apache.org>
Mon, 14 Jan 2019 10:25:18 +0000 (10:25 +0000)
committerStian Soiland-Reyes <stain@apache.org>
Mon, 14 Jan 2019 10:25:18 +0000 (10:25 +0000)
pom.xml

diff --git a/pom.xml b/pom.xml
index 109de41..e1c76a0 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     to work with mvn release:prepare without password prompts.
     See https://taverna.incubator.apache.org/download/code/
 
-    To override to use https://github.com/ with mvn release, add to equivalent of ~/.gitconfig
+    To force use of https://github.com/ add to equivalent of ~/.gitconfig
 
-        [url "https://github.com/"]
-        insteadOf = git@github.com
-        pushInsteadOf = git@github.com
+        [url "https://github.com/apache/"]
+        insteadOf = git@github.com:apache/
+        insteadOf = https://gitbox.apache.org/repos/asf/
+        pushInsteadOf = git@github.com:apache/
+        pushInsteadOf = https://gitbox.apache.org/repos/asf/
 
-    or to force use of GitBox:
+    *or*, to force use of https://gitbox.apache.org/
 
         [url "https://gitbox.apache.org/repos/asf/"]
-        insteadOf = git@github.com:apache
-        pushInsteadOf = git@github.com:apache
+        insteadOf = git@github.com:apache/
+        insteadOf = https://github.com/apache/
+        pushInsteadOf = git@github.com:apache/
+        pushInsteadOf = https://github.com/apache/
     
     See https://git-scm.com/docs/git-push/2.4.4#_git_urls_a_id_urls_a