Command line tool for creating pull requests on GitHub Creates GitHub pull request for current branch in current git repository.
- python 2.7
- requests
- PyYAML (for unit tests)
python setup.py install
On first launch you'll be prompted to enter your GitHub login/password (and two-factor authorization code if enabled). Using provided credentials personal access token will be created and stored in config file (~/.config/cmdpr
).
Personal access token will grant access to your repositories (public and private) for anyone who has it. Therefore don't use cmdpr on any public or not trusted computers.
In any case you can revoke any of your personal access tokens from your settings on GitHub. See this blog post for more details.
cmdpr [-h] [-m SUMMARY] [-b BASE_BRANCH] [--debug]
If you don't provide summary, cmdpr will open a text editor with a list of commits on current branch, so you can write one.
If base branch is omitted master
will be implied.
The easiest way to uninstall cmdpr is to use pip
:
pip uninstall cmdpr
Don't forget to remove your config file if you're not going to use cmdpr later:
rm ~/.config/cmdpr