Chapter 10. GitHub pull requests

 

This chapter covers

  • Making pull requests from branches on the same repository
  • Making pull requests from branches on a forked repository
  • Interacting with forks and pull requests from the command line
  • Merging a pull request from a forked repository

GitHub provides more than just Git hosting that you can git push to and git fetch from; it also provides features that allow teams of individuals to collaborate on software projects in ways beyond those provided by Git itself. Two of these features are pull requests and forks. In this chapter you’ll learn about GitHub’s pull requests.

10.1. What are pull requests and forks?

One of the core components of most software project collaboration is some sort of issue (or bug) tracker, such as JIRA, FogBugz, Pivotal Tracker, or Trac. GitHub provides an issue tracker for every repository known as Issues. In GitHub’s Issues, there are subject and body fields, an open or closed state, labels, and comments.

10.2. Interacting with GitHub from the command-line: gh

10.3. Summary