Git · Middle · Question 43 of 75
What happens to your commits when you squash-merge a PR and keep working on the same branch?
- 1Git marks them merged and drops them automatically
- ✓Correct answer: Git sees them as unmerged and they may conflict later
- 3They're moved into
mainas separate commits
Explanation
The squash commit has different content history, so the original commits aren't ancestors of main. Start a new branch from main after a squash merge.