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.
Using the Atom Package Manager:
$ apm install pull-request
Or Settings ➔ Install ➔ Search for pull-request
.
- 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>"
- 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"
You can use the ctrl
+ alt
+ p
pre-defined shortcut or just search for Pull Request: Open
using the palette.
Feel free to contribute on this package, I will be happy to work with you.