git apply --whitespace=fix your.patch增加 --whitespace=fix ,网上的其他方式都不好用
git apply --whitespace=fix your.patch