-
Open up your terminal, because this is all about the command line!
-
Follow the instructions here to install the GitHub CLI: https://github.com/cli/cli#installation
-
Run
gh auth login
to authenticate the GitHub CLI with your GitHub account.
Note: If you have an environment variable set in your shell named
GITHUB_TOKEN
, the GitHub CLI will automatically use that.
-
If you're not already in the directory for the project which you want to open a pull request for,
cd
there now and check withgit status
that all of your changes are committed in your branch. -
Run the command
gh pr create
and watch the magic unfold in front of your π !