jascha030/bb2gh
最新稳定版本:1.0.0
Composer 安装命令:
composer require jascha030/bb2gh
包简介
CLI tool to help me quickly migrate projects from bitbucket to github.
README 文档
README
THis package was created for personal use and is still under development and prone to breaking changes.
Getting started
Installation
composer global require jascha030/bb2gh
mv - Move a Repository from Bitbucket to Github
A Symfony Console command to move a repository from Bitbucket to Github.
Usage
bb2gh mv [options] [directory]
Arguments
- directory (optional): The directory of the repository. Defaults to the current working directory.
Options
--organization,-oThe organization name.--code-owner,-cThe owner of the repository.
Description
This command moves a repository from Bitbucket to Github It performs the following steps:
-
It removes the origin remote from the local repository.
-
It creates a new Github repository with the same name and description as the local repository.
-
If the
--code-owneroption is provided, it creates a CODEOWNERS file in the.githubdirectory of the repository with the specified owner.
Example
bb2gh mv --organization=myorg --code-owner=myowner /path/to/repository
This example moves the repository located at /path/to/repository to Github under the organization myorg and assigns myowner as the code owner.
Note: Ensure that you have gh (Github CLI) installed and available in your system's PATH.
Note: This documentation assumes that you have Symfony Console set up in your project and the required dependencies are correctly installed.
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-11-06