Last active
August 29, 2015 14:05
-
-
Save cdario/1c1135ec3251e135f1b6 to your computer and use it in GitHub Desktop.
find something in a file in all branches in git
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
git log -p -S 'method-class-variable-name-to-find' --all -- .\Namespace\FileToLookInto.php | |
git show a4283169fb5c4335ff916376d5dfc65c34b16f27 //commit number from previous command |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment