Skip to content

Instantly share code, notes, and snippets.

@mrtrizer
Created August 7, 2024 05:58
Show Gist options
  • Save mrtrizer/da80957cee91f99b88d22bf0bef541d9 to your computer and use it in GitHub Desktop.
Save mrtrizer/da80957cee91f99b88d22bf0bef541d9 to your computer and use it in GitHub Desktop.
Git diff for LFS files on Windows diff.lfs.textconv
# Just cat doesn't work correctly for me because of \r\n and \n line endings difference in LFS cache and actual file
# So, every line is marked as modified
git config diff.lfs.textconv pwsh` -cwa` `'Get-Content` `$args[0]`'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment