GIT - Search trough all commits in the repository

/ Published in: Bash
Save to your folder(s)

I have a Git repository with few branches and dangling commits. I would like to search all such commits in repository for a specific string.

Copy this code and paste it in your HTML
  1. git log -g --grep=search_for_this


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.