Last active
June 4, 2022 20:30
-
-
Save pferreirafabricio/0d9e47adf7772c195dae3b57b5aa9ba0 to your computer and use it in GitHub Desktop.
Example o a .gitattributes file for correct identification of languages on GitHub
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
# Auto detect text files and perform LF normalization | |
* text=auto | |
*.cs linguist-language=csharp | |
*.csproj linguist-language=csharp | |
*.sln linguist-language=csharp | |
*.md linguist-detectable=true | |
*.md linguist-documentation=false | |
# And ignore those repositories considering them as documentation | |
src/*/wwwroot/* linguist-documentation | |
wwwroot/** linguist-documentation | |
*/bin/* linguist-documentation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment