Because display broken characters when diff the shift_jis encoding file by default.
I configed the .gitattributes for that.
After that It can resovled the diff problem before commit.
But still have some problems
1.display a file before add to index
2.diff in history after commit
Please give me some info to resolve this problem.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events