Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 2
    Since I was just squashing ~100 commits (for syncing svn branches via git-svn), this is far faster than interactively rebasing!
    – sage
    Commented Nov 3, 2015 at 20:34
  • 2
    Reading down, I see @Chris's comment, which is what I used to do (rebase --soft...) - too bad that stackoverflow is no longer putting the answer with hundreds of upvotes at the top...
    – sage
    Commented Nov 3, 2015 at 20:35
  • 2
    agree with you @sage, lets hope they might do it sometime in the future Commented Nov 3, 2015 at 20:51
  • This is the right way. Rebase approach is good, but should only be used for squash as a last resort solution.
    – Axalix
    Commented Mar 11, 2019 at 20:13
  • I'm getting everything up to date Commented Dec 6, 2020 at 16:33