Quantcast
Channel: User Schwern - Stack Overflow
Viewing all articles
Browse latest Browse all 581

Comment by Schwern on Git merge does not take all files from source branch

$
0
0
@Crashh No, if you reset you'll lose all the work after the revert. Instead you'll have to do an interactive rebase to remove both the merge and the revert, and then Git will rewrite subsequent commits on top of commit 3. Since the merge and revert cancel each other out, this should be safe, but be sure to --rebase-merges to preserve any valid merges into develop.

Viewing all articles
Browse latest Browse all 581

Trending Articles



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