How can I view history on a particular file (which may have been deleted already in the current trunk)?
Also, what diff tool do you suggest for mac?
Do this to view the history for a file, even if it has been deleted from the current HEAD:
git log -- <filename>
So if you deleted xyz.py
a few revisions ago but would like to view its history, then you would do:
git log -- xyz.py
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With