Git: Mastering Version Control
by Ferdinando Santacroce, Aske Olsson, Rasmus Voss, Jakub Narębski
Chapter 3. Developing with Git
The previous chapter explained how to examine the project history. This chapter will describe how to create such history and how to add to it. We will learn how to create new revisions and new lines of development. Now it's time to show how to develop with Git.
Here we will focus on committing one's own work, on the solo development. The description of working as one of the contributors is left for Chapter 5, Collaborative Development with Git, while Chapter 7, Merging Changes Together, shows how Git can help in maintainer duties.
This chapter will introduce the very important Git concept of the staging area (the index). It will also explain, in more detail, the idea of a detached HEAD, that is, an anonymous unnamed ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access