The files are not missing. Your rebase
hasn't reached the point yet to apply those files. You only see one merge conflict now, once that it resolved and you continue, more may pop up.
As in the context of a rebase
, you start from the head of the source branch, and all the commits of your target branch are applied one by one on it.
If a merge conflict arises, rebase
stops to ask you to resolve the merge conflict. You have to fix them as they come one by one, and then continue the rebase each time a conflict occurs by marking the afflicted files as solved via:
git add <resolved file>
and then running:
git rebase --continue
until all the conflicts are resolved.
In a best case scenario all the changes are applied without any conflicts.
If in doubt, you can always hit
git rebase --abort
to get back to your feature branch as it was before you started the rebase
.
There's not a real way to look at your changes as one during a rebase
. You can do that beforehand
git diff <branchname>
If a rebase
gets overly complicated, I like to use git merge
as then you see all the changes (and conflicts) at once as you may expect. That might be easier to resolve for you.