mirror of
https://github.com/gitattributes/gitattributes.git
synced 2025-01-22 08:18:50 -05:00
b7c0d53361
Remove duplicated rules from `Java`, and move those that make sense to `Common`. This way both rules files can be used together, and the settings for more generic files like shell scripts, JSON, YAML can be more easily applied to other types of projects. Add settings that ensure Windows based scripts (`.bat` and `.cmd`) end with CRLF.
29 lines
711 B
Plaintext
29 lines
711 B
Plaintext
# Java sources
|
|
*.java text diff=java
|
|
*.gradle text diff=java
|
|
*.gradle.kts text diff=java
|
|
|
|
# These files are text and should be normalized (Convert crlf => lf)
|
|
*.css text diff=css
|
|
*.df text
|
|
*.htm text diff=html
|
|
*.html text diff=html
|
|
*.js text
|
|
*.jsp text
|
|
*.jspf text
|
|
*.jspx text
|
|
*.properties text
|
|
*.tld text
|
|
*.tag text
|
|
*.tagx text
|
|
*.xml text
|
|
|
|
# These files are binary and should be left untouched
|
|
# (binary is a macro for -text -diff)
|
|
*.class binary
|
|
*.dll binary
|
|
*.ear binary
|
|
*.jar binary
|
|
*.so binary
|
|
*.war binary
|