[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cluttering the git tree
From: |
David Kastrup |
Subject: |
Re: Cluttering the git tree |
Date: |
Mon, 17 Nov 2014 23:36:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
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.
--
David Kastrup