Created
September 14, 2018 12:45
-
-
Save michaelknurr/80101241ff24e72e836a3452c273824c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# != 1 ] ; then | |
echo "Usage $0 <repo>" | |
exit 1; | |
fi | |
REPO=$1 | |
git clone --mirror https://github.com/adessoAnsible/$REPO.git | |
cd $REPO.git | |
git remote set-url origin https://git.adesso.ch/ansible/$REPO.git | |
git push --mirror https://git.adesso.ch/ansible/$REPO.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment