Technology Insights

git: Show Details of a Previous Commit, git log Details

Below is information regarding the use of the git log command. There are numerous git log options described below including showing a single revision, a certain number of revisions, revisions since a certain date, and showing more details about revisions. The git log command can be useful to see specifically what has been checked in to the repository just for a revision history or to verify that the proper changes have been made.

Show Previous Commits:

bash

  1. git log

This will show a listing of previous revisions for the current branch.