#author("2020-04-07T04:35:52+09:00","default:ryuichi","ryuichi")
* コンフリクト解消した後に--skipする [#x2630a0a]
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を終わらせる
** 参考 [#xf8862b6]
- https://git-scm.com/docs/git-rebase