コンフリクト解消した後に--skipする
No changes - did you forget to use 'git add'?
If there is nothing left to stage, chances are that something else
already introduced the same changes; you might want to skip this patch.
Resolve all conflicts manually, mark them as resolved with
"git add/rm <conflicted_files>", then run "git rebase --continue".
You can instead skip this commit: run "git rebase --skip".
To abort and get back to the state before "git rebase", run "git rebase --abort".
- 例えばgit rebase masterなどしてコンフリクトが起きると、
- コンフリクトしているファイルを修正してから、修正したファイルをgit addして、
- git rebase --continueでrebaseを再び実行すると、
- 上の"No changes - did you..."のようなメッセージが表示されることがある
- これは、コンフリクトを修正した結果、最新のコミットと違いがなくなったことを意味する
- したがってコミットする必要がないので、git rebase --skipを実行してrebaseを終わらせる
参考