Branches

Learning Objectives

By the end of this chapter, you will be able to:

  • Explain the feature-branch workflow
  • Create, navigate, and delete branches
  • Manage changes in the working directory
  • Merge changes through pull requests
  • Identify and resolve issues with pull requests

This chapter describes the working of branches, workflows and conflict resolution.

Introduction

In the previous chapter, we explored how local repositories are able to connect to a remotely hosted repository. We covered the git push, git fetch, and git pull commands, which facilitate the retrieval of changes and uploading of changes to the shared repository. Lastly, we explored the git revert and git reset commands, which rescind changes.

In this chapter, we'll ...

Get Version Control with Git and GitHub now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.