title: Merge non-merged feature branch into another feature branch with Git
body: <p>My company has a Git workflow that looks something like this:</p>
  
  <ul>
  <li>Create feature branch from pristine branch (we use a base branch called "develop", but you can think of this as "master")</li>
  <li>Do the work you need to do in this feature branch, and commit your changes</li>
  <li>Occasionally, rebase your feature branch with the develop branch</li>
  <li>When the work in your feature branch is complete, commit and push to the remote feature branch on GitHub</li>
  <li>Create a pull request to merge your feature branch into the develop branch, which gets code reviewed by another developer</li>
  <li>Once the code review is completed, the feature branch is merged into the develop branch, and the feature branch is deleted</li>
  </ul>
  
  <p>This works when you're dealing with a serial workflow, but when you've pushed your changes from your feature branch and are waiting on the other developer to review and merge your changes, you probably want to take on another piece of work, which means repeating the above process. </p>
  
  <p>In our case, we're currently creating our feature branches from the develop branch, so the work I just completed isn't yet available (it's still in limbo, waiting to be merged into the develop branch by another developer). The question I have is, what if the work I'm doing in my <em>new</em> feature branch depends on the work I just completed in my previous feature branch? Should I be initially branching my new feature branch from my as-of-yet unmerged feature branch instead of the develop branch? If I've already created my new feature branch from the develop branch, is getting the changes I'm missing from the unmerged branch as simple as doing a <code>git merge [unmerged-branch]</code> within my new branch?</p>
  
  <p>Hopefully this explanation -- as well as the workflow itself! -- makes sense. I've gotten myself into some weird situations where I'm unclear the state of my code, so I'm trying to figure out a workflow that gives me the flexibility to merge in changes from other feature branches while still getting upstream changes at any time.</p>