How does Git handle merge conflicts, and how can they be resolved?

  • Automatically resolves conflicts
  • Ignoring conflicts
  • Manual resolution by the user
  • Reverting to a previous commit
Git handles merge conflicts by marking them in the code and prompting the user for manual resolution. This involves reviewing the conflicting changes, choosing the correct versions, and then committing the resolved files back into the repository.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *