DEV Community


Search Git commit message

hemantgovekar profile image Hemant Govekar ・1 min read

This post will help you to search git commit messages and few other tricks of git log.

Git logging command

git log

The above command will help you see all the log details as shown below. Log details will include author, date and commit message.

Alt Text

git log --oneline

The above command will help you to have a concise view of the log as shown below (This will only show commit number and commit message) .

Alt Text

git log --oneline --grep="search word(s)"

The above command will help you search in git commit message for the search word(s) specified.

Alt Text

I create videos on ASP.Net, WebApi, Entity Framework, Javascript, Git and Bootstrap Design.
You can subscribe to my channel @
My Channel Link

Discussion (0)

Editor guide