How does Git handle conflicts when merging two branches with changes to the same line of code?

  • Automatic Merge
  • Branch Deactivation
  • Manual Resolution
  • Priority Given to Latest Commit
Git handles conflicts by marking them, and it's the developer's responsibility to resolve them manually. This ensures that the developer reviews and approves the changes, preventing unintended modifications.
Add your answer
Loading...

Leave a comment

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