I have a few questions:
How do I find/search for a specific file in all of my past commits? Let's say, I want to find the the file test.py in all of my past commits. I don't want it to search the regular information such as commit message, author, date, etc..
Once I find this file, in step 1 above; How would I compare test.py in another commit to the same file in any other commit? I could use the
git diff <commit_id> test.py <commit_id> test.py
?
I am not talking about comparing working directory to staged or staged to last commit.
ok. So I know how to find files in past commits. For the results below I used, git --pretty=oneline card.py
But, how do I compare the file based on this output:
6c40f05c9 (HEAD -> master, origin/master) Added debugger.py and time-your-code.py
fa7219963 Python Generators