Git TutorialLesson 11Free preview
Git History
This lesson is part of Git · All levels
Summary
The repository history can be explored with git, which displays each commit's hash, author, date, and message. A concise view is available via the --online option, while --graph visualizes the history branch. Filters per file and timeframe make it easy to search for specific changes.
Key points
- Git log --online displays a summary of one row per commit
- Git --graph --online --all visualizes the branches and merge
- Git show <hash> displays a single commit detail
- Git --follow <file> tracks file history even though it's been renamed
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.