Hey,
How do I find in which git commits a certain file was changed? like..
git --when-did-it-change scr/ThatBuggyClass.java
88fa9f (HEAD) last time trying to debug it
99321c another round with ThatBuggyClass
...
cheers!
f.
Hey,
How do I find in which git commits a certain file was changed? like..
git --when-did-it-change scr/ThatBuggyClass.java
88fa9f (HEAD) last time trying to debug it
99321c another round with ThatBuggyClass
...
cheers!
f.
Use git log
:
git log src/ThatBuggyClass.java
You can use the --oneline
switch to format the output like your example:
git log --oneline src/ThatBuggyClass.java