Chapter 9. Taking a fork in the road
Branches are an important feature in many version control systems, but in Git, they’re especially important because they’re so easy to create. In this chapter, you’ll learn how to make branches in your repository. This is sometimes known as diverging your code base. If you want to add a new feature or fix a bug in your repository’s code, you’ll want to create a branch so you can do that work on a copy of your code.
This chapter also covers how to switch between branches, and how to delete branches by using the git branch command. You’ll learn how to jump back and forth among branches by using git checkout. In the next chapter, you’ll bring together (converge) your branched code base.
Branching does introduce ...
Get Learn Git in a Month of Lunches now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.