git rebase 解决 trailing whitespac

2020-06-12  本文已影响0人  MGBBT

错误: 

.git/rebase-apply/patch:16192: trailing whitespace.

.git/rebase-apply/patch:16198: trailing whitespace.

.git/rebase-apply/patch:16213: trailing whitespace.

.git/rebase-apply/patch:16253: trailing whitespace.

.git/rebase-apply/patch:16256: trailing whitespace.

warning: squelched 88 whitespace errors

warning: 93 lines add whitespace errors.

解决方案:

git rebase -Xignore-space-at-eol 

git rebase -Xignore-space-change 

git rebase -Xignore-all-space

根据 whitespace errors 类型选择上面 3 种种的一种后

git add .

git rebase --continue 

完成修复

上一篇 下一篇

猜你喜欢

热点阅读