美文网首页
git rebase 解决 trailing whitespac

git rebase 解决 trailing whitespac

作者: MGBBT | 来源:发表于2020-06-12 10:49 被阅读0次

错误: 

.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 

完成修复

相关文章

网友评论

      本文标题:git rebase 解决 trailing whitespac

      本文链接:https://www.haomeiwen.com/subject/pwykgttx.html