@prabink/git-push-cli
Version:
This command line application will allow you to push any folder in your project to any existing or new branch in the github with a single command.
67 lines (43 loc) • 1.64 kB
Markdown
# Git-Push CLI
This command line application will allow you to push any folder in your project to any existing or new branch in the github
with a single command.
## Features
- Deploy any folder to github branch.
- Keep seperate seperate code in seperate seperate github branch with in the project
- Easy to install and use
## Usage/Examples
### Installation
Install package
```sh
$ npm i -g @prabink/git-push-cli
```
#### Now you can run the git-push-cli commands globally in your system
### Commands & Options
```sh
$ git-push-cli --help
Options:
| Option | Description |
| ----------------- | ------------------------------------------------------------------ |
| -V, --version | output the version number |
| -gb, --gitbranch <type> | default branch in git (default: "frontend-release") |
| -gcm, --gitcommitmessage <type> | default commit message in git (default: "release with build") |
| -h, --help | display help for command |
Commands:
git-push-cli <foldername> <br/>
git-push-cli <foldername> -gb <branchName> -gcm <gitCommitMssage>
```
## API Reference
Deploy any folder to github branch
This will allow you to choose any folder that you want to push into a github branch.
```sh
$ git-push-cli <foldername>
```
#### Example
<img src="https://drive.google.com/uc?export=download&id=15r0Hzt87iTqMldOVnmVdihspRRm7RVSP" alt="Git_Push_Cli.gif"/>
## Tech Stack
**Client:** React, Php, Vue, Next, Angular
**Server:** Node, Express, Git,
## Authors
- [@githubprabin143](https://github.com/githubprabin143/git-push-cli)
## License
[MIT](https://choosealicense.com/licenses/mit/)