how to read .gitattributes at SourceTree

Yoshitaka Hirai
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2019

【DEVELOPMENT ENVIRONMENT】

OS: Windows 10

【QUESTION】

I use utf-8 for default character code at Sourcetree.

Character Code of files I want to diff is sjis.

So diff showed at Sourcetree is corrupted.

I think if Sourcetree read .gitattributes, diff showed at Sourcetree become normal.

Is there a way to read .gitattributes for Sourcetree ?

I wrote these to .gitattributes.

*.jsp diff=sjis
*.java diff=sjis

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events