I have a situation. Let's say two developers are working on two different branches A and B.
-- master --
| |
A <-- B
Branch B is dependent on changes in A. However, changes in A are not yet merged into master. I would like to start working on my feature (branch B) with changes in A and then discard them when I am done testing. What is the recommended way ?