Is there any way to find out what an entire file looked like in a particular commit after applying all changes to it? I know there is a difference between 2 files(what was added and removed) and that's what shown in git. But that's not what I'm looking for.
If you know the commit id you can checkout the specific file like below:
git checkout <commitid> yourfile
EDIT
If you don't want to modify your local version use:
git show <commitid>:filename
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