Pull Request (Atom package)
This package allows you to quickly prepare your pull request by driving you directly on your pull request creation page of your current Git project and by pre-defining source/target branches.
Installation
Using the Atom Package Manager:
$ apm install pull-request
Or Settings ➔ Install ➔ Search for pull-request
.
Configuration
Using Github
- Go to https://github.com/settings/tokens and create a new API token
- Open your
config.cson
file - Add this snippet (replacing '
' with the token you created):
"pull-request":
githubApiToken: "<your-token>"
Using Gitlab
- Go to https://gitlab.com/profile/personal_access_tokens and create a new API token
- Open your
config.cson
file - Add this snippet (replacing '
' with the token you created): - Optionally, if you rely on a private Gitlab server, also fill in your base uri.
"pull-request":
gitlabApiToken: "<your-token>"
gitlabUrl: "https://gitlab.acme.tld"
Usage
You can use the ctrl
+ alt
+ p
pre-defined shortcut or just search for Pull Request: Open
using the palette.
Contributing
Feel free to contribute on this package, I will be happy to work with you.