title: git - rebase branch, built on top of another, on master
body: <p>I am working on a feature in a repo. I have created a feature branch (say <code>branch_1</code>) and another branch (say <code>branch_2</code>) on top of <code>branch_1</code>. I used to rebase <code>branch_2</code> every time <code>branch_1</code> was updated, but now the <code>branch_1</code> is being merged into <code>master</code> so I want to rebase <code>branch_2</code> into <code>master</code>, so that <code>branch_2</code> have only its own changes. How do I do this? Also is the right way or is there any other method?</p>