If you use Git to collaborate with Windows users, there is some additional complexity to consider:

https://www.edwardthomson.com/blog/git_for_windows_line_endings.html

Cheers,
-sam

On 4 Apr 2021, at 21:16, David Kelly wrote:

On Apr 4, 2021, at 6:07 PM, Arthur Goldberg <[email protected]> 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?

Original Apple/Mac convention was <CR> (Control-M) line endings.
Unix used <LF> (Control-J) line endings.
CP/M and Windows used <CR> <LF> line endings.


BBEdit is pretty smart about continuing to use whatever it finds. Has a default for new files.

--
David Kelly N4HHE, [email protected]
============================================================
Whom computers would destroy, they must first drive mad.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/98ED2474-F312-4C98-9760-B50496EE02C2%40hiwaay.net.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "[email protected]" 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/4A9C3103-EF4B-4A12-AB6D-BC5BFC342F07%40munkynet.org.

Reply via email to