git apply --whitespace=fix your.patch增加 --whitespace=fix ,网上的其他方式都不好用 转载于:https://www.cnblogs.com/tianxizi/p/7908190.html