Chapter 8. The time machine that is Git
When you make a commit into the repository, as you’ve been doing all along, you’re making a mark on a timeline. Each commit says that on this date, at this time, I made this content change. Each commit is a version of your entire project. In this chapter, you’ll learn that Git lets you visit any version of your project via the git checkout command. You’ll also learn how to bookmark past versions of your project by using git tag. Learning this gives you the capability to go back in time with your code, which is important for making bug fixes to released software. Ultimately, Git is a time machine for your code!
8.1. Working with git log
In the repository that you’ve been working on so far, you’ve made eight ...
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.