[Top][All Lists]

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

Re: Cluttering the git tree

From: Andreas Schwab
Subject: Re: Cluttering the git tree
Date: Tue, 18 Nov 2014 00:14:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Lars Magne Ingebrigtsen <address@hidden> writes:

> David Kastrup <address@hidden> writes:
>> Ulf Jasper <address@hidden> writes:
>>> Hi all,
>>> I just noticed that I cluttered the git tree with my last commit.  All
>>> my intermediate commits which were supposed to be visible only to me
>>> suddenly appeared in the public repository.  Sorry!
>>> I'll study some tutorials before the next commit.  Promised.
>> The only way _not_ to have intermediate commits be visible (short of
>> creating a diff and applying it as a single commit) is to prettify your
>> branch before merging.  git rebase -i is useful for that.
> Well, he could just say "git pull --rebase", right?

That doesn't clean up the intermediate commits, it just transplants


Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]