问题:
warning: LF will be replaced by CRLF in git/.gitignore.
The file will have its original line endings in your working directory.
虽然是个 warning,但是在强迫症看来,还是十分不爽,于是寻找方案,终于找到了这个可以用的,特此记录下。
解决:
git config --global core.autocrlf false
原理:
把自动转换给关掉就行了