You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems a minimal .gitattributes might not be such a good idea:
* text eol=lf
This can also cause edits to clearly binary files, otherwise as expected git is not smart enough to know that .png for example should keep its line ending.
This seems to be a better file:
* text eol=lf
#
## These files are binary and should be left untouched
#
# (binary is a macro for -text -diff)
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.mov binary
*.mp4 binary
*.mp3 binary
*.flv binary
*.fla binary
*.swf binary
*.gz binary
*.zip binary
*.7z binary
*.ttf binary
*.eot binary
*.woff binary
*.pyc binary
*.pdf binary
Seems a minimal
.gitattributes
might not be such a good idea:This can also cause edits to clearly binary files, otherwise as expected git is not smart enough to know that
.png
for example should keep its line ending.This seems to be a better file:
Some projects even have a list of explicitly text files that should be touched, but I can't imagine that this is also necessary: https://github.com/apache/cordova-ios/blob/master/.gitattributes
The text was updated successfully, but these errors were encountered: