worth enhancing "man git-rebase" to show non-HEAD examples?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  one of the things i've noticed about the examples in "man
git-rebase" is that they invariably show rebasing relative to a
branch point that has not moved. for example, there's this example:

       o---o---o---o---o  master
            \
             o---o---o---o---o  next
                              \
                               o---o---o  topic

with subsequent sample command:

  $ git rebase --onto master next topic

sure, that works, but there seem to be no examples that show that this
is a valid starting point as well:

       o---o---o---o---o  master
            \
             o---o---o---o---o  next
                      \
                       o---o---o  topic

as in, the examples in that man page could potentially suggest to an
inexperienced reader that the *only* valid situations are rebasing as
long as the other branch has not developed any further. (yes, i
realize that, if you read carefully, it *should* make it clear, but i
think it would be helpful to at least graphically show that
happening.)

  thoughts?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux