Quantcast
Channel: Merge commit reverts multiple commits in target branch - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by John Kugelman for Merge commit reverts multiple commits in target...

This is your starting situation. Your branch had commits C-J on top of B while your coworker's branch had K on top of B:+-> C --> D --> E --> F --> G --> H --> I --> J...

View Article



Merge commit reverts multiple commits in target branch

I have been working on a branch with several commits, say A, B, C, D, E, F, G, H, I, J.A co-worker of mine was working on another branch which was spawned from my B commit.This week, he merged his...

View Article

Answer by TTT for Merge commit reverts multiple commits in target branch

It sounds like your co-worker messed up the merge. One easy way to confirm this is to just retry the merge yourself:git switch -c test-branch J # create a temporary branch at J to test the mergegit...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>