Create a PR in Github from the terminal :)
Add this line to your application's Gemfile:
gem install lazypr
lazypr [base branch name]
lazypr creates a PR to update the changes of the current branch to the base branch.
lazypr master
Let's say you are in the branch 'develop'. The above command creates a PR to update the changes of 'develop' in to 'master'
You can also enter the PR title by passing the second argument.
lazypr master "Update changes from develop"
Lazypr allows you to authenticate your Github account using your personal access token.
Just set the following ENV variable in your .bash_profile or in your .zshrc file
export github_personal_access_token=xxxxxxxxxx
And don't forgot to source it. source ./bash_profile
or source ./zshrc
Follow this link to setup your Github access token.
You need to add repo access to your access token. Refer the below screenshot.
If Lazypr can't find the access_token then it prompts for your Github username and password
Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.