public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@imag•fr>
To: "Li Frank" <Frank.Li@freescale•com>
Cc: "Junio C Hamano" <gitster@pobox•com>, <git@vger•kernel.org>
Subject: Re: Can Git push only first parent history commits?
Date: Mon, 08 Dec 2008 08:44:02 +0100	[thread overview]
Message-ID: <vpqabb7az7h.fsf@bauges.imag.fr> (raw)
In-Reply-To: <402F4B33D9C9DE4083DB96B416549FAF9E2D@zch01exm23.fsl.freescale.net> (Li Frank's message of "Mon\, 8 Dec 2008 11\:11\:30 +0800")

"Li Frank" <Frank.Li@freescale•com> writes:

> I don't know the detail of git internal.  Or my email subject
> description have some problem. 
>  
> I just want to combine some commits to one commit and push combined
> commit to remote.  And at same time, keep commits history at my local
> repository.  Rebase will make original history lost. 

git merge --squash may help.

-- 
Matthieu

  reply	other threads:[~2008-12-08  7:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-08  2:52 Can Git push only first parent history commits? Li Frank
2008-12-08  3:00 ` Junio C Hamano
2008-12-08  3:11   ` Li Frank
2008-12-08  7:44     ` Matthieu Moy [this message]
2008-12-08  4:03 ` Boyd Stephen Smith Jr.

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=vpqabb7az7h.fsf@bauges.imag.fr \
    --to=matthieu.moy@imag$(echo .)fr \
    --cc=Frank.Li@freescale$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=gitster@pobox$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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