Re: git merge --no-commit <branch>; does commit
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Dec 14, 2007, 07:49 UTC
- Message-ID
- <20071214074925.GA3525@steel.home>
- In-Reply-To
- <alpine.LSU.0.99999.0712132224280.5606@castor.milkiway.cos>
Michael Dressel, Thu, Dec 13, 2007 22:28:30 +0100:
Show 13 quoted lines
> On Thu, 13 Dec 2007, Alex Riesen wrote: >> On 13/12/2007, Michael Dressel <MichaelTiloDressel@t-online.de> wrote: >>> git merge --no-commit <branch> does "create" a commit. At lesat the >>> head and index are moved to the new commit fetched from <branch>. Maybe >>> that is because git was able to do a fast forward? >> >> Yes. Because fast-forward is what it called: fast-forward. >> It does not do any commits at all. >> > > It looks like I misunderstood the meaning of --no-commit. I have to use > --squash in this case. >
Maybe. Or maybe you misunderstood the meaning of --squash, which also is not a merge.