© Johan Abildskov 2020
J. AbildskovPractical Githttps://doi.org/10.1007/978-1-4842-6270-2_2

2. Building Commits

Johan Abildskov1 
(1)
Tilst, Denmark
 

In this chapter, we will cover commits in detail. Commits are the basic building blocks of our history, both containing the actual content of our versions and the parent pointers that define our history. Deliberately fashioning commits and attaching well-formed commit messages to them are foundational skills needed to be a valuable individual contributor in a collaborative setting.

What’s in a Workspace

At its core, Git is about files and directories. In software development, the place where we store project-specific files with our code is commonly called the workspace. When I refer to our workspace, I ...

Get Practical Git: Confident Git Through Practice 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.