@cli-kits/git-cli
v0.1.5
Published
facilitate GIT operation for CLI
Downloads
52
Readme
@cli-kits/git-cli
This package provides a command-line interface for interacting with Git using Node.js. It comes with two commands: del
and list
.
Installation
To install the package, run the following command:
npm install -g @cli-kits/git-cli
Usage
To use the CLI, run the gitcli
command followed by the desired subcommand.
delete branch command
To delete Git branches by selection using the CLI, it lists all the branches and you can choose the branches to delete. Run the following command:
gitcli del
You can also use the alias d
:
gitcli d
list branch command
To list all Git branches and check out to another branch you choose using the CLI, run the following command:
gitcli list
You can also use the alias ls
:
gitcli ls