Learn the Basics — GitHub’s CLI

Creating an issue

GitHub Issues helps you to track ideas, feedback, tasks, bugs and plan for your work right where development takes place.

Creating a branch to work on an issue

If you used the --web flag, you can create a branch to work on an issue directly from the issue page by clicking under Development > Create a branch. Once the branch is created, to start working, you can checkout the branch in your local repository:

Creating a pull request to review your work

You finished and committed your work. now you’re ready to create a PR. Pull requests (PR) lets you discuss and review potential changes before (if ‘LGTM’) merging them into production. I would recommend creating your PR interactively. For more information on the available flags, visit CLI Manual: PR Create

Merging your changes to production

Once the changes you’ve made on your head branch are ready to be merged into the main (base) branch, you are ready to push your code to production.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store