Which Git command is used to abort a merge in progress due to conflicts?
- git abort
- git merge --abort
- git merge --cancel
- git reset --merge
The correct Git command to abort a merge in progress due to conflicts is git merge --abort. This command cancels the merge operation and returns the working directory to the state before the merge started.
Loading...
Related Quiz
- You're tasked with optimizing the loading speed of a website. How can CSS be used to improve performance?
- What does SQL stand for?
- In a distributed microservices architecture, how would you ensure effective error tracking and monitoring across services?
- In a project where requirements are expected to evolve over time, which SDLC model would you recommend and why?
- _______ is a principle in OOP that promotes the idea of coding to an interface rather than an implementation.