101 reputation
bio website koblik.blogspot.com
location Switzerland
visits member for 3 years, 10 months
seen Jan 20 at 23:07

comment Rewrite git history to replace all CRLF to LF?
Thank you, this post helped me a lot. I had a few files with spaces in their name, a little change to the original command fixed it: git filter-branch --tree-filter 'git ls-files -z | xargs -0 dos2unix' -- --all . Flags -z and -0 tell git ls-files and xargs to print and interpret null as end of line.