Revised by
Andrew Gordon-Brooks
ab8bcd5
| #!/bin/sh
read -e -p "enter scp endpoint (user@127.0.0.1): " scp_endpoint
scp -o StrictHostKeyChecking=no $scp_endpoint:~/.gitconfig ~/.gitconfig
scp -o StrictHostKeyChecking=no $scp_endpoint:~/.ssh/id_rsa ~/.ssh/id_rsa
echo -e "Host bitbucket.org\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
git clone git@bitbucket.org:bcpptl/dev-env-demo.git
cd dev-env-demo
sed 's/https:\/\/bitbucket.org\/bcpptl\/local-openshift.git/git@bitbucket.org:bcpptl\/local-openshift.git/' setup.sh > setup2.sh
sh setup2.sh
|