Pull Requests

GitHub PRs

A PR request asks for changes made in a branch to be merged into the main branch.

PRs facilitate collaborative code review.

Usage

  1. Create New Branch
    Github Desktop > Branch > New Branch > collab-branch
  2. Push New Branch
        git push origin collab-branch
    

    or
    GitHub Desktop > Publish branch
    New branch is displayed at top of repo dashboard
  3. Modify and Commit to new branch
  4. Review and collaborate
  5. Merge PR into main branch.
  6. GitHub.com > Pull requests > Collab branch > Merge pull request
  7. Delete PR or confinue to collaborate

Copyright @ 2024 Anne Brown