Created
March 11, 2020 09:09
-
-
Save etaf/23ddb00908e6fe839195ec029d37a235 to your computer and use it in GitHub Desktop.
search in git history
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# search by comment string | |
git log --grep="hello world" | |
# search commit modify a specific file | |
git log --stat -p <file_path> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment