Simple question let's say i'm working on Feature A of my project and a friend is working on Feature B, we both started from the same master source code. And this happens:
- I merge my branch onto master. (Feature A)
- I push the project.
- Then he merges his branch onto master. (Feature B)
- He pushes the project.
Will my branch (Feature A) be lost in the process? How do you merge properly in this situation? (Should i merge my branch onto my friend's branch first and then he can merge onto master?) (He is probably gonna have to pull (from master) first before pushing but his code is not going to have Feature A anyway.)