Git commit adds ^M at end of line
muhammet.kara at pardus.org.tr
Sun Jan 1 19:39:29 UTC 2017
2017-01-01 21:08, Laurent BP yazmış:
>> Sound a lot like you made the git init or git clone command from a
> prompt and not cygwin.
> Thanks Jan for your answer. But I'm on Linux system (OpenSuse 13.2),
> editing file with KWrite and I launched git from a Konsole terminal.
> previous commit did not suffer from this default:
> My previous commit on help was also correct
> I can remove these ^M in the patch file, but not in source files.
I experienced a similar problem once when I pasted some piece of code
from a web page. Opening the source file with vim and giving this
command (to set file format to unix) worked for me:
> LibreOffice 184.108.40.206
> View this message in context:
> Sent from the Dev mailing list archive at Nabble.com.
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
More information about the LibreOffice