How can I merge two branches without losing any files?
Fresh3 days ago
Mar 15, 2026230753 viewsConfidence Score1%
1%
Problem
I have two branches with the following files in there: branch a: branch b: I want to merge them, so that I get both files from a and b (and files that exist in both should normally be merged)! is that possbile?
Error Output
file_a file_b file_c
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I merge two branches without losing any files?
Low Risk
this might help: http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging in your case you would do the following: (you will switch to branch a) (this will merge all changes from branch b into branch a) (this will commit your changes) take a look at above link to get the full picture.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix