DTC-Xen Installation

DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos


DTC Howtos




Devel docs

Wiki - i18n

Wiki - Meta

Git /

How to reorder commits and squash some of them together

If you are unhappy with the order of your commits, or you have made commits for partial features that you would like to merge in a single commit:

   git rebase --interactive f03ffce29627b15a938ba6f0145dc93fb93f6d83

will bring up an editor with a list of commits from that one to HEAD. You can reorder the lines, or edit the first word of each line to say "squash" to squash that commit with the older one.

NEVER use this technique if you have already pushed the commits into a public repo.

Page last modified on March 25, 2009, at 08:45 PM EST