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?
Tried git rebase -i --root
and got conflicts on every commit after adding .gitattributes
in root.
New contributor
gitik is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.