Skip to content

Instantly share code, notes, and snippets.

@bad-ed
Created March 11, 2019 07:56
Show Gist options
  • Save bad-ed/cbdb0b75bf6dcb790050397c936a5fab to your computer and use it in GitHub Desktop.
Save bad-ed/cbdb0b75bf6dcb790050397c936a5fab to your computer and use it in GitHub Desktop.
Find string in files modified between 2 git commits (win32 cmd)
git diff --name-only <commit1> <commit2> | findstr /N /F:/ <string to lookup>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment