When I look at the diff of an lfs file, I just see the oid and size difference. Is there a way to easily diff the actual file contents?
From this post by bk2204:
Another option if you want to have diffs is to run
git config diff.lfs.textconv cat
, which will have any files with thediff=lfs
attribute automatically rendered through Git to show the LFS file instead of the pointer.
Sourcetree GUI example:
My diff looked like this:
After running the command, it looks like this:
(You might need to re-open Sourcetree for the changes to be applied.)
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