문제

I have master and feature-1 branch on my git.

Now, I need to work on feature-2 branch which is dependent on feature-1. I can't merge feature-1 to master yet because of some dependency. So, I merged feature-1 to feature-2.

Amid developing feature-2, I merged feature-1 to master. Now, is there a way to merge feature-2 back to master without merge conflicts ?

도움이 되었습니까?

해결책

Just do it. You won't get merge conflicts. Git will understand that the same commits exist on both branches.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top