Introduction
In this lab, you will learn how to check if a Git commit was made by a specific author. We will explore two primary methods: filtering the commit history using git log --author
to view commits from a particular individual, and using git show
with a commit hash to verify the author details of a single commit.
Through hands-on exercises, you will practice applying these commands within a sample Git repository. We will demonstrate how to filter commits by author name and then use git show
to examine the author information of a specific commit, ensuring you can effectively identify the contributor of any given change in your Git history.