Removing dos end of line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]