Re: [PATCH] Documentation: Transplanting branch with git-rebase --onto
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Nov 6, 2006, 23:14 UTC
- Message-ID
- <200611070014.20607.jnareb@gmail.com>
- In-Reply-To
- <7v4ptcchli.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 17 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes: > >> Added example of transplantig feature branch from one development >> branch (for example "next") into the other development branch (for >> example "master"). >> >> [jn: with a little help from Junio] >> >> Signed-off-by: Jakub Narebski <jnareb@gmail.com> >> --- >> What about this? > > I agree with Carl that the original example of --onto was not > clear why it is a good thing, so I am inclined to follow his > suggestion and drop the original example and keep your second > one yanked from your try#1 patch when committing, if it is Ok > with you.
That's O.K. by me.
Perhaps you can add the info that git-rebase with <branch> argument switches to given branch (is equivalent to checkout + rebase without <branch> argument).
P.S. The "transplanting from 'next' to 'master'" example was taken from your mail, Junio: Message-ID: <7vlkrfoaky.fsf@assigned-by-dhcp.cox.net> http://permalink.gmane.org/gmane.comp.version-control.git/22923
-- Jakub Narebski