Created
October 20, 2015 21:27
-
-
Save JonTheNiceGuy/3880e91564ea6f44ef1a to your computer and use it in GitHub Desktop.
Find a commit which references a piece of text (I use this in https://github.com/garethr/vagrantboxes-heroku)
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
#!/bin/bash | |
git log -S"$1" -- www/index.html | grep commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment