I have 3 branches: development, qa, and staging. I have almost the same code in both development and qa, so making a pr from development to qa doesn't yield too many changes (and or conflicts).
But now I have a move all the stuff from qa to staging. And qa code is practically completely different and new from staging, so what's the best option? I searched and found this other answer:
git checkout qa
git merge -s ours staging
git checkout staging
git merge qa
Is this a good idea for my case? Thanks in advance!
EDIT: I don't want to lose all the commits from staging branch.
 
     
     
    