Pull Requests

A pull request, also known as a merge request, is a formal proposal to merge code changes into the main project branch/repository.

The pull request is meant to be a collaborative tool for reviewing code and discussing any proposed sets of changes before publishing to the main branch of a project.

Use Cases:
Example:
Submitting a pull request:
  • Clone down the Repo and create a new branch.
  • Checkout the new branch and make a change/addition.
  • Commit the changes to the new branch.
  • Sync changes
  • Use the code below to create a pull request.
  • gh pr create
  • The owner of the repo should now be able to accept or deny your request, as well as resolve any merge conflicts that may arise via the pull request page in their repository.