Correct way to store .gitattributes (working-tree-encoding) after many commits?
There is a large Git repository (~4,000 commits) containing files in CP866
and does not contain a file named .gitattributes
in the root of project. Is there any way to add .gitattributes (*.txt text working-tree-encoding=CP866)
with rewriting everything as if it existed from the beginning?