jascha030/bb2gh 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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, -o The organization name.
  • --code-owner, -c The owner of the repository.

Description

This command moves a repository from Bitbucket to Github It performs the following steps:

  1. It removes the origin remote from the local repository.

  2. It creates a new Github repository with the same name and description as the local repository.

  3. If the --code-owner option is provided, it creates a CODEOWNERS file in the .github directory 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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2023-11-06