O'Reilly logo

Learn Git in a Month of Lunches by Rick Umali

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required