ブランチをリベースしようとしていますが、gitが失敗するマージアクションを実行しようとしています。これを止めるにはどうすればいいですか?空白のためにgit rebaseが失敗する
# git rebase -f --onto master~2 master~ master
First, rewinding head to replay your work on top of it...
Applying: r1002 - CS 1.0.23
Using index info to reconstruct a base tree...
M about.html
<stdin>:68: trailing whitespace.
<stdin>:115: trailing whitespace.
<stdin>:201: trailing whitespace.
<stdin>:2369: trailing whitespace.
<stdin>:2385: trailing whitespace.
warning: squelched 2305 whitespace errors
warning: 2310 lines add whitespace errors.
Falling back to patching base and 3-way merge...
Auto-merging about.html
CONFLICT (content): Merge conflict in about.html
Failed to merge in the changes.
Patch failed at 0001 r1002 - 1002
The copy of the patch that failed is found in:
/local/melder/tmp/test/.git/rebase-apply/patch
When you have resolved this problem, run "git rebase --continue".
If you prefer to skip this patch, run "git rebase --skip" instead.
To check out the original branch and stop rebasing, run "git rebase --abort".
ご覧のとおり、2000個以上の空白文字のエラーがありますが、手でマージするのは簡単ではありません。
編集:サイドステップにこの今の私がしたマージなし:
# git add -A
# git rebase --continue
編集:用事それは愚かな考えです。
うーん...あなたは正しい、それは良いことではない。私はリベース-Xの戦略を使ってみました。私は、このリベースプロセスを自動化しようとしています。レポに実際の衝突はないはずです。私は、空白のエラーはunix/windowsの動きに起因すると信じています。私は可能な限り回避したいと思います。 – melder