5

I have a file that has the wrong line-endings. I'm wondering if there is anyway to fix them in a commit but in such a way that the blame won't show that I've modified every single line in the file. I'd really like to keep the file's line history useful.

Bradley
  • 1,644
  • 3
  • 15
  • 24

1 Answers1

1

Looks like git blame -w ... should do the trick based on this answer.

Wonder if Github has a blame view that includes -w

Community
  • 1
  • 1
Bradley
  • 1,644
  • 3
  • 15
  • 24