It looks like this could happen, so that you have changed the history of committing these “re-commit" commits so that they have a different sha1. Each sha1 is unique not only for commit, but also for commit history. Therefore, it is impossible (which is very incredible to happen during the life of the Universe) to have two identical sha1 in one story or to have two sha1 in two different stories. If you change anything in your commit, for example, using an amendment or an interactive reinstall, you will change sha1. Thus, two commits that may look the same are actually handled differently.
So, most likely, you reinstalled from another branch, made some type of interactive redirection or made amendments to commits, continued to make some more code that modified the same part of the code, and then you have conflicts at the next permutation, because which captures what you have in your local branch that are different from the branch you are re-installing, are removed from the branch, upstream is retracted, including that you have already pulled in and changed sha1, and then when the commits are replayed onto the branch you get in confl ie, because the state code changed from what was expected commit, because it was the original, created from a different history than what you now have in your branch. Wow, that was a long sentence ...
When you “clear” the selection list ... what you do is most likely to delete these repeated commits before rebooting, so now you will not reapply the changes that have already been applied, so there will be no more conflicts.
However, if you just want to resolve conflicts during reinstallation, this is likely to be the best choice so that you don't accidentally delete the commit you want. Conflict resolution will result in a set of changes to this commitment being applicable to the story you have. After you click this merge permission permission, you won’t have to see the problem again unless you change the commits that were already pressed again.
To find which files have merge conflicts, do:
git status
or
git ls-files -u
Once you know which files have conflicts, if you have a mergetool setting, you can do:
git mergetool <file>
If you prefer manual merging, you can find merge tokens and strings by doing the following:
grep -Hnr '^=\{7\}\|^<\{7\}\|^>\{7\}' *
at the top level of your repo and editing path. When you edit manually, make sure that you remove the markers and make the final version of the file look the way you want ... git does nothing special with markers for you. When you finish editing manually, be sure to do
git add <file>
to add a file, to add it to the index, and to remove an unsupported flag. When you finish resolving all unrelated files, do
git rebase --continue
To complete rebase.