Building Apps with AILesson 42 of 87

Module 5 · Save points, and shipping to a stranger

Merge conflicts without panic

In this lesson

  • 7 min read
  • 7 reading sections
  • Knowledge check
  • Lesson 6 of 11 in this chapter

This chapter’s goalKeep a project in git well enough to undo any hour (stage part of a change, restore one file, revert a pushed commit, recover from a bad reset, branch for an agent’s work and merge it back) and put the app on a free host with a real domain, environment variables scoped per environment, and a version stamp that says which commit is live.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 8Free · no account needed
Lesson steps

What a conflict actually is

Git merges by region. If one branch changed the top of a file and the other changed the bottom, both changes go in and nobody is asked. Git stops only when both sides changed the same lines differently, because there is no rule that can decide which version you meant.

That is the whole of it. A conflict is not damage. It is git declining to guess.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Building with AI exam.

Stuck on something?Ask Beatriz, your AI tutor

How to cite: Addaly (2026) ‘Merge conflicts without panic’, in Building Apps with AI. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/building-apps-with-ai/merge-conflicts-without-panic (Accessed: 29 November 2026).