Using Visual Studio Code’s Remote Development today put a .NET 6 and SQL Server development environment all into a Docker container. Although the operation according to the file went smoothly, after the project was added to the version control, the problem appeared. In this article, I want to point out that in the era of containerization and cross-platform, the newline symbol actually has to face him, otherwise, you will be at a loss when you encounter problems.
… continue reading …
This article is reprinted from https://blog.miniasp.com/post/2022/08/07/gitattributes-make-sure-shell-script-use-LF-characters
This site is for inclusion only, and the copyright belongs to the original author.