gitc
v1.3.0
Published
Manage your pull requests and issues from your command line.
Downloads
4
Maintainers
Readme
gitc
A simple command-line tool to create issues and pull requests easily.
Support:
Providers:
- Github
- Gitlab
OS:
- Linux
- macOS
- Windows
Node version:
= 4
Install
yarn add gitc --global
npm install --global gitc
Examples
Pull Requests
Go to your current branch's PR
$ gitc pull
Create a new pull request using your current branch and master
$ gitc pull --create
$ gitc pull -c
Create a new pull request using a different base branch
$ gitc pull -c --base production
Go to a specific pull request:
$ gitc pull 123
Issues
Read the issues:
$ gitc issue
Go to a specific issue:
$ gitc issue 123
$ gitc i 123
Create an issue:
$ gitc i -c
$ gitc issue -c -t Your title here -b Your description
Remote
If you want to use a different remote, usually "origin", you can pass the -r
or --remote
option:
$ gitc pull --create --remote my-other-remote
gitc
uses your .git/config
file to read your project's git configuration.
Help
$ gitc --help
Usage: gitc [options] [command]
Options:
-h, --help output usage information
Commands:
pull|p [options] [number]
issue|i [options] [number]
$ gitc pull --help
Usage: pull|p [options] [number]
Options:
-c, --create [branch] Branch you want to open the pull request
-b, --base [branch] Your base branch, usally the branch that will receive the changes (default: master)
-r, --remote [remote] Your remote configuration, usally "origin" (default: origin)
-h, --help output usage information
$ gitc issue --help
Usage: issue|i [options] [number]
Options:
-c, --create
-t, --title [title] Your issue's title. (default: )
-b, --body [description] Your issue's description. (default: )
-r, --remote [remote] Your remote configuration, usally "origin" (default: origin)
-h, --help output usage information
Enjoy!