Git - Collaboration Workflows
You have multiple commits in your feature branch but want to combine them into one clean commit before updating the PR. Which sequence of commands achieves this?
git reset --soft HEAD~3 moves HEAD back but keeps changes staged, allowing to combine commits.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions