1.0.4 • Published 3 years ago

git-submodule-cli v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

git-submodule-cli

A CLI that for git submodules management.

Install

npm i git-submodule-cli@latest -g

Usage

In your repository's directory, run the gsc command to execute the git submodule commands.

gsc <command>
Commands:
    clone   <repository>    [destination]   Clone the repository and all submodules(contains nested submodules).
    add     <submoduleRep>  [destination] -b <branch>  Add submodule to the repository and appoint branch checked out by the submodule.
    update  [submoduleName]  -m [mode]  Update all submodules(contains nested submodules) from remote or init,You can also specify to update a submodule,Option m refers to check out the latest commitid of the sub module(remote <default>) or sub module Branch recorded in the main warehouse(init).
    remove  <submoduleName>  Remove a submodule.
	status  Only show submodules status(contains nested submodules).
	diff    Only show submodules diff.
    help    Display help for command.
1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago