Skip to content

Commit 10fdd49

Browse files
committed
Add FAQ for merging behavior
1 parent be9ab61 commit 10fdd49

File tree

1 file changed

+27
-1
lines changed
  • docs/testing-deployment-publishing/branching-collaboration

1 file changed

+27
-1
lines changed

docs/testing-deployment-publishing/branching-collaboration/branching.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,4 +515,30 @@ YAML files play a key role in managing and resolving conflicts during the merge
515515
- YAML files allow you to manually edit and resolve conflicts during the merge process.
516516
- Since YAML files are text-based, they are version-controlled effectively, enabling multiple team members to make changes and merge their work.
517517
</p>
518-
</details>
518+
</details>
519+
520+
<details>
521+
<summary>
522+
Why didn’t all my changes appear after merging two branches?
523+
</summary>
524+
<p>
525+
Merging in FlutterFlow is designed to copy only the differences (diffs) between branches, not to replicate the entire contents of one branch into another. This behavior often leads to confusion, especially if users expect merging to act like a full copy-paste of all data.
526+
</p>
527+
<p>
528+
Here are a few important things to know:
529+
</p>
530+
<ul>
531+
<li><strong>Merging propagates changes (diffs)</strong>: it does not transfer every element from one branch to another.</li>
532+
<li><strong>No conflicts ≠ no changes</strong>: “No conflicts” doesn’t mean “no changes” and it definitely doesn’t mean the project is error-free. You may still have changes merged, and you should review for project errors to ensure everything merged as expected.</li>
533+
<li>If a change was previously accepted or rejected during a merge, it won’t appear as a diff the next time you merge the same branches. That’s expected behavior.</li>
534+
</ul>
535+
<p>
536+
For example, if you merge `Branch B` into `Branch A` and copy over `change C`, but later undo that change on `Branch A`, a future merge from `Branch B` into `Branch A` won’t re-flag `change C`. Git considers it as already merged.
537+
</p>
538+
<p>
539+
540+
<strong>Best Practice:</strong> Keep your branch histories short and simple. After each merge, delete the merged branch to avoid unnecessary complexity. For example, if you merge `Branch B` into `Branch A`, and later want to undo or revise those changes, don’t go back and modify `Branch B`. Instead, create a new branch (e.g., `Branch C`) from `Branch A` to make your updates.
541+
542+
This approach prevents intertwining branch histories, avoids confusing merge behavior, and ensures clean, trackable diffs. Keeping branches focused and temporary makes merging more predictable and manageable.
543+
</p>
544+
</details>

0 commit comments

Comments
 (0)