recover a merged commit git 1

recover a merged commit git

git checkout -b remerge master
git merge branch -s ours

Here is what the above code is Doing:
1. Create a new branch called remerge
2. Checkout the remerge branch
3. Merge the branch branch into the remerge branch
4. Use the -s ours strategy to resolve any conflicts

Similar Posts