Logo

TODAY I LEARNED

1 post about #git

Create a Pull Request from the CLI

In 2020 GitHub launched its CLI.
Among many other wonders, it allows you to create a PR from the command line.
Using it is exceedingly easy!

First, install it
$ brew install gh
Then, authenticate
$ gh auth login
Finally, create a PR with
$ gh pr create
If your repo has a PR template, it will make use of it.

Learned by Eduardo GutiƩrrez on Feb 23, 2021

973983 adforcodereview v3 0211021 c02 021121