threads / discuss / 25445

Removing dos end of line

Subject: Removing dos end of line

## tl;dr

One message between Oct 14, 2010 and Oct 14, 2010.

replies: 0people: 1as markdown or json

Mathieu Malaterre· Oct 14, 2010, 10:51 UTC · lore
Hi,
  I am trying to rewrite a git history and remove dos end of line. I used:
git filter-branch --tree-filter dos2unix -- --all
However it still report:
error: You have local changes to 'bla.c'; cannot switch branches.
Here is my setting:
$ cat ~/.gitconfig
...
[core]
	autocrlf = input
Should I be doing something else to remove dos file from history ?
Thanks,
-- 
Mathieu

← back to recent threads