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 15. Software archaeology

When you start interacting with a new Git repository, you might want to understand its history. Git has a variety of commands that let you dig into these details. This chapter describes how to survey a repository’s history by using git log, git shortlog, and git name-rev. The chapter also focuses on commands that help you understand the files in the repository: git grep, git show, and git blame.

If you’re going to start work on an existing repository, especially one with lots of contributors or lots of history, you’ll want to perform a kind of archaeological survey of the code base. You’ll want to examine the code base at a high level and then narrow down to a particular set of files for a closer examination. ...

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