Skip to content

Instantly share code, notes, and snippets.

@ahamid ahamid/
Created Dec 18, 2011

What would you like to do?
mirror unfuddle repo to bitbucket
echo "Cloning Unfuddle repo: $ufacct:$uf"
git clone --mirror git@$$ufacct/$uf.git
cd $uf.git
echo "Adding Bitbucket remote to $uf workspace: $bb"
git remote add bitbucket$bbacct/$bb.git
echo "Pushing mirror of Unfuddle $ufacct:$uf to Bitbucket $bbacct:$bb..."
git push --mirror bitbucket
cd ..

This comment has been minimized.

Copy link
Owner Author

ahamid commented Dec 18, 2011

# make sure ssh keys are set up first
./ accountname srcreponame [dstreponame]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.