How to configure Git not to auto-format line breaks and space differences

When the code diffs between newlines and spaces in Git are meaningless, it becomes difficult to find the actual changes in the code. This problem can be caused by the editor’s auto-formatting feature.

Unifying the editor’s auto-formatting settings can solve this problem.

Please refer to the following link for detailed instructions: [Atom] Let’s unify the editor ‘s auto-formatting settings.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top