Thanks everyone. Yes, this only happens with some files, and always with 
them. 

I have followed the Git for Windows: Line Endings 
<https://www.edwardthomson.com/blog/git_for_windows_line_endings.html> advice, 
creating .gitattributes.

I don't "see "Windows (CRLF)" at the bottom of the window 'chrome'."  I'm 
editing Python & see this:



On Sunday, April 4, 2021 at 7:48:01 PM UTC-4 TJ Luoma wrote:

> I believe those are line endings for Windows line-endings.
>
> When editing a file, see if you see "Windows (CRLF)" at the bottom of the 
> window 'chrome'.
>
> If so, click on it and change it to "Unix (LF)".
>
> Git will be happier then.
>
>
> On Sun, Apr 4, 2021 at 7:07 PM Arthur Goldberg <artgo...@gmail.com> wrote:
>
>> According to `git diff`,  control-M characters appeared at the ends of 
>> all lines I inserted in a file I'm editing with BBEdit. See screenshot.
>>
>> How do I stop doing this?
>>
>> Thanks
>> Arthur
>>
>> [image: ctrl-M.jpg]
>>
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a feature 
>> request or need technical support, please email "sup...@barebones.com" 
>> rather than posting here. Follow @bbedit on Twitter: <
>> https://twitter.com/bbedit>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to bbedit+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/bbedit/03da91e3-e71f-43b9-aef8-c28f47ef5ac0n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/bbedit/03da91e3-e71f-43b9-aef8-c28f47ef5ac0n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
This is the BBEdit Talk public discussion group. If you have a feature request 
or need technical support, please email "supp...@barebones.com" rather than 
posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bbedit+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/95074c82-2f1e-4b65-924b-fb0a1729b151n%40googlegroups.com.

Reply via email to