In GIT I have 2 BRANCHES and a MASTER.
BRANCH1 is checked out from master and it have some commits to be merged with master and merging of BRANCH1 will take some time because of some testing reasons.
In that time I've to work on another Branch which is BRANCH2. So BRANCH2 should have the commits of BRANCH1 as I'll do some changes upon BRANCH1's commits, then BRANCH2 will also be merged with MASTER after sometime when BRANCH1 merged with the master (BRANCH1 will be merged first).
- checkout from BRANCH1 then do some commits then merge it master after BRANCH1 merged for sometime.
- (OR) checkout from MASTER then rebase it with BRANCH1 then do some commits then merge it MASTER.
So What is the best option I can do for working on BRANCH2 with BRANCH1 change then merging it with MASTER?
Any suggestions are welcome and Thanks...