You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2019/01/14 10:37:19 UTC
[incubator-taverna-maven-parent] 02/02: about forcing use of GitHub
or GitBox
This is an automated email from the ASF dual-hosted git repository.
stain pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-taverna-maven-parent.git
commit d3a4c038961c0a7661957a3965ce9f002ea7c695
Author: Stian Soiland-Reyes <st...@apache.org>
AuthorDate: Mon Jan 14 10:25:18 2019 +0000
about forcing use of GitHub or GitBox
---
pom.xml | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/pom.xml b/pom.xml
index 109de41..e1c76a0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -445,17 +445,21 @@
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