承接 ibrostudio/gitbro 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

ibrostudio/gitbro

最新稳定版本:1.1.1

Composer 安装命令:

composer create-project ibrostudio/gitbro

包简介

Cli app to manage Git repositories and facilitate releases management

README 文档

README

Installation

composer global require ibrostudio/gitbro

Configuration

To communicate with Github, you need to register in the config a Github Personal Access Token:

gitbro config

Init a new project

gitbro init

This will create a new Github repository, following your parameters, as visibility or ownership, and then clone it locally.

Using templates repositories

You can use a template for your project. By default, Spatie Package Skeleton Laravel and Filament PHP Plugin Skeleton are available, but you can add more using the following command:

gitbro template

Conventional Commits

This app follows the Conventional Commits specification. A commit type will prefix your message to help history comprehension and will be used by the CHANGELOG generator.

gitbro commit

Running scripts before commit

You can automatically run tests or format code scripts before each commit:

Create a gitbro.neon file at the root of your project with:

scripts:
    format-code:
        - 'vendor/bin/pint'
        - 'npx prettier . --write'
    test-code:
        - 'composer test'

Pull, push, sync

  • gibro pull for git pull origin main --rebase
  • gibro push for git push origin main
  • gibro sync will execute gitbro pull and then gitbro push

Releases

You can easily perform a release creation by running:

gitbro release

This will:

  • define the version, following the semantic versionning
  • bump the new version in composer.json and/or package.json if used
  • generate a note section in your CHANGELOG
  • create the release on Github

Testing

composer test

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-02