summaryrefslogtreecommitdiff
path: root/hacking/unify_repos.sh
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2016-12-08 09:38:05 -0500
committerMatt Clay <matt@mystile.com>2014-09-26 01:01:01 +0000
commit5458361331775f06303c73c1c18e377525fc551e (patch)
tree63f0ec4cf6c08628019caa22715d157dc2ef7351 /hacking/unify_repos.sh
parentad001c2cbc3508301155b255fd3a017d130252d9 (diff)
downloadansible-test_new_merge.tar.gz
Fix differences with devel.test_new_merge
Diffstat (limited to 'hacking/unify_repos.sh')
-rwxr-xr-xhacking/unify_repos.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/hacking/unify_repos.sh b/hacking/unify_repos.sh
index e91a1d14fe..d4c7ecbaae 100755
--- a/hacking/unify_repos.sh
+++ b/hacking/unify_repos.sh
@@ -5,14 +5,15 @@ set -e
set -u
# get current stuff
-git clone git@github.com:ansible/ansible.git ansible_unified
+git clone https://github.com/ansible/ansible.git ansible_unified
cd ansible_unified/
git submodule init
git submodule update
+git remote add upstream git@github.com:ansible/ansible.git
# add submodules as remotes
-git remote add core_modules git@github.com:ansible/ansible-modules-core.git
-git remote add extras_modules git@github.com:ansible/ansible-modules-extras.git
+git remote add core_modules https://github.com/ansible/ansible-modules-core.git
+git remote add extras_modules https://github.com/ansible/ansible-modules-extras.git
git fetch --all
# remove submodules
@@ -52,5 +53,5 @@ do
fi
done
- git rm -rf lib/ansible/modules/${subdir}
+ rm -rf lib/ansible/modules/${subdir}
done