kkamara/php-github-to-bitbucket-backup-repo-updater
Composer 安装命令:
composer require kkamara/php-github-to-bitbucket-backup-repo-updater
包简介
:computer: (29-Aug-2023) Compatible with Windows, MacOS & Linux.
README 文档
README
php-github-to-bitbucket-backup-repo-updater
💻 (29-Aug-2023) Compatible with Windows, MacOS & Linux.
Quickstart
git clone https://github.com/kkamara/php-github-to-bitbucket-backup-repo-updater cd php-github-to-bitbucket-backup-repo-updater # Update config.json in your php-github-to-bitbucket-backup-repo-updater directory. composer i composer start
Installation
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": "main"
},
"bitbucket": {
"origin": "git@bitbucket.org:kkamara2/kelvinkamara.com",
"branch": "main"
}
}
}
}
git clone https://github.com/kkamara/php-github-to-bitbucket-backup-repo-updater cd php-github-to-bitbucket-backup-repo-updater # composer install composer i
Usage
# php src/MainClass.php
composer start
Using Linux with Docker?
make start # build & run your script make stop # stop your docker container
Using Windows with Docker?
.\ps\run.ps1 start # build & run your script .\ps\run.ps1 stop # stop your docker container
Misc
See Github to Bitbucket Backup Repo Updater made with NodeJS.
See NodeJS ReactJS Boilerplate.
Contributing
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.
License
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2025-01-20
