[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cluttering the git tree
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Cluttering the git tree |
Date: |
Mon, 17 Nov 2014 23:53:55 +0100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
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?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no