Last active
November 15, 2022 16:17
-
-
Save he3als/16dec92643a0af8d47b6615ee2f0873f to your computer and use it in GitHub Desktop.
Fix batch scripts in GitHub repos
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.bat eol=crlf | |
*.cmd eol=crlf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this file to the root/start of your GitHub repo.
This tells Git/GitHub to not automatically convert batch scripts to Unix line endings (LF).
Unix line endings have a lot of issues with batch scripts, like batch labels not working.