問題:
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
原理:
把自動轉換給關掉就行了