Vous fusionnez le même travail une nouvelle fois dans un nouveau commit de fusion
Cela enregistrera un nouveau commit de fusion avec les deux branches comme parents, mais ne regardera même pas la branche en cours de fusion.
It will record a new merge commit with both branches as parents, but it will not even look at the branch you're merging in.
Le meilleur contournement de ceci est de dé-inverser la fusion originale, puisque vous voulez ajouter les modifications qui ont été annulées, puis de créer un nouveau commit de fusion
The best way around this is to un-revert the original merge, since now you want to bring in the changes that were reverted out, then create a new merge commit
Correction des références Si le commit de fusion non désiré n'existe que dans votre dépôt local, la solution la plus simple et la meilleure consiste à déplacer les branches pour qu'elles pointent où on le souhaite.
Fix the references If the unwanted merge commit only exists on your local repository, the easiest and best solution is to move the branches so that they point where you want them to.
Cela signifie que dans tous les cas, à chaque fois que vous cliquez sur le bouton « Merge », un commit de fusion est créé.
This means that no matter what, every time you hit the merge button, a merge commit is created.
Vous pouvez également combiner ces syntaxes - vous pouvez obtenir le second parent de la référence précédente (en supposant que c'était un commit de fusion) en utilisant HEAD~3^2, etc.
You can also combine these syntaxes - you can get the second parent of the previous reference (assuming it was a merge commit) by using HEAD~3^2, and so on.
Comme Bazaar a lui aussi le concept de commits de fusion, il n'y aura aucun problème si vous poussez un commit de fusion.
Because Bazaar also has the concept of merge commits, there will be no problem if you push a merge commit.
Fusionner une branche et créer un commit de fusion ('merge commit')
Merge a branch and create a merge commit
C'est pourquoi le message d'erreur précédent s'intitulait « merge following commits not found », parce que justement, il ne pouvait pas trouver le commit de fusion.
This is why the error message from before was "merge following commits not found", because it could not do this.
On appelle ceci un commit de fusion (merge commit) qui est spécial en cela qu'il a plus d'un parent.
This is referred to as a merge commit, and is special in that it has more than one parent.