Override git's choice of binary file to text

后端 未结 3 1781
囚心锁ツ
囚心锁ツ 2020-12-09 01:05

I\'ve seen several question asking how to make git treat a text file as binary, but haven\'t seen the opposite yet:

How do I change git\'s choice of treating a text f

3条回答
  •  猫巷女王i
    2020-12-09 01:53

    Look at Git Attributes -- they may be able to help you by specifying that a certain file extension is to be treated as text.

提交回复
热议问题