Re: Considering teaching plumbing to users harmful
- From
Ping Yin <pkufranky@gmail.com>
- Date
- Jul 18, 2008, 17:02 UTC
- Message-ID
- <46dff0320807181002i33320669ica5e407adc30d8b6@mail.gmail.com>
- In-Reply-To
- <7vr69tpoze.fsf@gitster.siamese.dyndns.org>
On Thu, Jul 17, 2008 at 4:12 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 11 quoted lines
> Suppose you are about to finish something you have been cooking (say a > series of five logical commits), you've made three of these commits > already, and what you have in your work tree and the index is to be split > into the last two commits. Somehow you learn that $x above has a updated > version. > > Yes, running "git stash && git pull --rebase && git stash pop" would be > better than running "git pull --rebase" alone from that state. But that > would mean your history would have your first 3 commits (of 5 commit > series), somebody else's totally unrelated commits, and then you will work > on finishing the remaining 2 commits on top of it.
Hmm, the first 3 commits are not pushed out, right? So by "rebase", the history should be first the somebody else's commits (origin/master), then the first 3 commits, then the remaining 2 commits?:
-- Ping Yin