承接 greencape/monorepo 相关项目开发

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

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

greencape/monorepo

最新稳定版本:1.0.1

Composer 安装命令:

composer create-project greencape/monorepo

包简介

This tool is a partial replacement for git commands that utilizes `git-subtree` to manage monorepos.

README 文档

README

This tool is a partial replacement for git commands that utilizes git-subtree to manage monorepos.

Installation

Commands

mono init

Initialize a fresh project. A local git repository is created with an empty initial commit. You do not need to initialize projects that already are under git and have a clean working tree.

Synopsis

$ mono init

mono add

Add (create, import) a subproject named <name> for the repository at <url> stored in <directory>.

Synopsis

$ mono add [--name=<name>] <directory> <url>

mono split

Turn the content of <directory> into a subproject named <name> with its own repository at <url>.

Synopsis

$ mono split --dir=<directory> <name> <url>

mono rename

Rename the subproject named <old> to <new>. All configuration settings for the subproject are updated.

Synopsis

$ mono rename <old> <new>

mono merge

Integrate the subproject named <name> into the main project. All configuration settings for the subproject are removed.

Synopsis

$ mono merge <name>

mono remove

Remove the subproject named <name>. All configuration settings for the subproject are removed.

Synopsis

$ mono remove <name>

mono pull

Fetch and merge recent changes up to <commit> into the <name> subproject. This does not remove your own local changes; it just merges those changes into the latest <commit>. With --squash, creates only one commit that contains all the changes, rather than merging in the entire history.

If you use --squash, the merge direction does not always have to be forward; you can use this command to go back in time from v2.5 to v2.4, for example. If your merge introduces a conflict, you can resolve it in the usual ways.

Synopsis

$ mono pull [--squash|--no-squash] <name> [<commit>]

mono push

Push the subproject named <name> to the configured repository and <ref>. This can be used to push your subproject to different branches of the remote repository.

Synopsis

$ mono push <name> [<ref>]

Also see

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固