I have two remote branches:

* master
* stable

The master branch is aligned to release; production ready code stays here. The stable branch is used for testing. Our Hudson builder rebuilds the code on each push, to which I send the built product to the test team. 

I also use local branches dependent to the stable branch for any given job.

I need to push commit to the stable branch to get build product, so after tests were passed, how can I merge local branch - whose parent is the stable branch - to master?