git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alex Riesen <raa.lkml@gmail.com>
To: Michael Dressel <MichaelTiloDressel@t-online.de>
Cc: git@vger.kernel.org
Subject: Re: git merge --no-commit <branch>; does commit
Date: Sat, 15 Dec 2007 20:37:41 +0100	[thread overview]
Message-ID: <20071215193741.GB3021@steel.home> (raw)
In-Reply-To: <alpine.LSU.0.99999.0712151905280.4341@castor.milkiway.cos>

Michael Dressel, Sat, Dec 15, 2007 19:14:48 +0100:
>> Maybe. Or maybe you misunderstood the meaning of --squash, which also
>> is not a merge.
>
> Since "git merge --squash <branch>" does a merge of <branch> into the 
> working tree why would you not call it a merge?

Because merge, in Git language, means connection histories. That one
just mixes the text. That's different operation, kind of editing a
file.

> Anyway that was what I wanted. Merging <branch> (a topic branch) into my 
> current branch (the main branch) but being able to create commits that are
> more suitable for keeping in the history of the current branch than the
> commits I created during developing on <branch>.
> Would you recommend a different way of doing this?

I would not recommend doing it at all. If I must, I'd rather use
git-rebase -i (interactive rebase).

  parent reply	other threads:[~2007-12-15 19:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-13 21:01 git merge --no-commit <branch>; does commit Michael Dressel
2007-12-13 21:19 ` Alex Riesen
2007-12-13 21:23   ` Alex Riesen
2007-12-13 21:28   ` Michael Dressel
2007-12-14  7:49     ` Alex Riesen
2007-12-15 18:14       ` Michael Dressel
2007-12-15 18:26         ` Björn Steinbrink
2007-12-15 19:18         ` Jakub Narebski
2007-12-15 20:22           ` Michael Dressel
2007-12-15 20:57             ` Jakub Narebski
2007-12-15 21:15               ` Michael Dressel
2007-12-15 19:37         ` Alex Riesen [this message]
2007-12-15 20:33           ` Michael Dressel
2007-12-16 10:53             ` Alex Riesen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071215193741.GB3021@steel.home \
    --to=raa.lkml@gmail.com \
    --cc=MichaelTiloDressel@t-online.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).