git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Can Git push only first parent history commits?

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Dec 8, 2008, 07:44 UTC
Message-ID
<vpqabb7az7h.fsf@bauges.imag.fr>
In-Reply-To
<402F4B33D9C9DE4083DB96B416549FAF9E2D@zch01exm23.fsl.freescale.net>
"Li Frank" <Frank.Li@freescale.com> writes:
Show 6 quoted lines
> 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
Previous: Li FrankNext: Boyd Stephen Smith Jr.
Message 4 of 5 in “Can Git push only first parent history commits?”
  1. Li FrankDec 8, 2008
  2. Junio C HamanoDec 8, 2008
  3. Li FrankDec 8, 2008
  4. Matthieu MoyDec 8, 2008
  5. Boyd Stephen Smith Jr.Dec 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.