Here is the current state of this feature branch.
Recent Steps:
- Remote development branch diverged
- Fetched remote development branch
- Stashed local feature branch's diverged changes that I want to keep
- Rebased feature branch from local development branch
- Stash Popped feature branch changes
- Stash Apply feature branch changes
Results:
$ git status
# On branch feature-foo-branch
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: foo/bar.php
# modified: foo/baz.php
#
# Unmerged paths:
# (use "git reset HEAD <file>..." to unstage)
# (use "git add/rm <file>..." as appropriate to mark resolution)
#
# both modified: foo/conflict.php
#
and status with -s
$ git status -s
UU foo/conflict.php
M foo/bar.php
M foo/baz/php
git recommends either add
or rm
to resolve the conflict. What does UU
mean and why would those be the options to fix it?
All of the information I can find about resolving conflicts similar to this say not to use rm
which makes me wonder why git thinks it's appropriate.
I can't find anything about UU
in the git manual pages but there is this SO question which also seems to be having trouble sorting out why add
would work in this case.