title: How do I run git rebase --interactive in non-interactive manner?
body: <p>Is it possible to do following?</p>
  
  <ol>
  <li>Make <code>git rebase --interactive</code> to just output standard boilerplate to a file, instead to outputting to a file and opening it in editor.</li>
  <li>Let the user edit the file.</li>
  <li>Let user re-run <code>git rebase</code> with the name of edited file.</li>
  <li>Go on with the usual rebase process.</li>
  </ol>
  
  <p>Usecase: scripted rebasing of course. See <a href="https://stackoverflow.com/questions/4981061/how-to-re-order-commits-in-git-non-interactively">how to re-order commits in Git non-interactively</a> for example.</p>