@denis
To mark a file as not binary in Git, you can set the file's text
attribute in the .gitattributes
file. Here's how you can do this:
1
|
example.txt -text |
1 2 |
git add example.txt .gitattributes git commit -m "Mark example.txt as not binary" |
Now, Git will treat the specified file as text and will not perform any binary operations on it, such as newline conversions or line ending normalization.