0.0.14 • Published 4 years ago

git-submodule-management v0.0.14

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

git-submodule-management

A fast git submodule management cli.

Installation

npm install git-submodule-management -g

Usage

Init repository

Clone the repo and all submodules at one time.

gsm clone <repo>

Get status

gsm status

Only show submodule status

gsm status -s

Add and commit changes of the default tracked repo and submodules

gsm ac <message>

Change branch of the default tracked repo and submodules

Switch the branches of the main repo and all submodules at the same time.

gsm checkout <localBranch>

Add new branch to the default tracked repo and submodules

Synchronize the branches of the new main repo and all submodules. The default is to switch based on the branch name of the main repo. If the branch of the main repo and the submodules are inconsistent at this time, an error message will pop up. Please enter the submodules to maintain the branch name of the main repo and then execute this command.

gsm checkout -b <newBranch>

Merge branch to the default tracked repo and submodules

gsm merge <localBranch>

Pull all updates from the default tracked repo and submodules

gsm pull

Push all updates from the default tracked repo and submodules

gsm push
0.0.13

4 years ago

0.0.14

4 years ago

0.0.12

4 years ago

0.0.10

4 years ago

0.0.11

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago