- Install the Github CLI
- Optionally install gitopen to go to your repo's remote, this works even on non Github repos
- Optionally run the following line to set an alias for new PRs:
gh alias set newpr 'pr create'
, I like this more than the default
If you want to go to the web of your repo run:
gitopen
You committed and pushed your changes and are ready to create a PR? Run
gh newpr
# if you didn't set the alias: "gh pr create"
After a while if you want to check if your PR was reviewed:
gh pr status
There are way more Github CLI commands you can use but this is for me the bread and butter of everyday, so it saves a lot of time in the long run.