💻 (29-Aug-2023) Compatible with Windows, MacOS & Linux.
git clone https://github.com/kkamara/ghbbupdater
cd ghbbupdater
# Update config.json in your ghbbupdater directory.
composer i
composer start
If you're using Docker make sure you have Docker and Docker Compose installed.
Update config.json
with your github and bitbucket remote urls for your repos.
{
"repos": {
"kelvinkamara.com": {
"github": {
"origin": "https://github.com/kkamara/kelvinkamara.com",
"branch": "develop"
},
"bitbucket": {
"origin": "git@bitbucket.org:kkamara2/kelvinkamara.com",
"branch": "develop"
}
}
}
}
git clone https://github.com/kkamara/ghbbupdater
cd ghbbupdater
# composer install
composer i
# php src/MainClass.php
composer start
make start # build & run your script
make stop # stop your docker container
.\ps\run.ps1 start # build & run your script
.\ps\run.ps1 stop # stop your docker container
See Github to Bitbucket Backup Repo Updater made with NodeJS.
See NodeJS ReactJS Boilerplate.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.