Skip to content

Instantly share code, notes, and snippets.

@jmserra
jmserra / bitbucket2github.sh
Created April 16, 2020 11:03
migrates one repo with all its branches and tags from bitbucket to github
#!/usr/bin/env bash
set -e
if [ "$1" = "" ]
then
echo "Usage: $0 REPO"
exit
fi
BBORG=my-bitbucket-org
GHORG=my-github-org