title: Git rebase and merge
body: <blockquote>
  <p>My remote master branch: <code>A D</code></p>
  <p>My remote dev branch: <code>A B</code></p>
  <p>My local dev branch: <code>A B C</code></p>
  <p>Current Merge request in Github: <code>remote dev -&gt; remote master</code></p>
  <p>How can I make the remote dev branch as <code>A D B' C'</code>, so that I can
  make the remote master branch as <code>A D B' C'</code> by just approving current
  Merge request?</p>
  </blockquote>
  <p>What I did is</p>
  <blockquote>
  <ol>
  <li>making the local dev branch <code>A D B' C'</code></li>
  <li>tried to push local dev branch which is now <code>A D B' C'</code> to the remote dev branch which is <code>A B</code></li>
  </ol>
  </blockquote>
  <p>and as you can guess, it said</p>
  <blockquote>
  <p>&quot;Updates were rejected because the tip of your current branch is
  behind&quot;</p>
  </blockquote>
  <p>Could you let me know what is the best practice here?</p>