Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save rms1000watt/f68dab4a38762da832dd0469c9978136 to your computer and use it in GitHub Desktop.
Save rms1000watt/f68dab4a38762da832dd0469c9978136 to your computer and use it in GitHub Desktop.
git command to find commit when string changed in a file
git log -S 'this string changed in this file' -- main.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment