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

Re: Lump commit HOWTO?

From
MKmartin f krafft <madduck@madduck.net>
Date
Jul 13, 2007, 06:09 UTC
Message-ID
<20070713060909.GA18442@lapse.madduck.net>
In-Reply-To
<625fc13d0707121821l70e2d6aaw555c79b5d700585f@mail.gmail.com>
also sprach Josh Boyer <jwboyer@gmail.com> [2007.07.13.0321 +0200]:
> 8) take all local commits (A - D) and create a single commit without
> any of the upstream changes in it

This is entirely untested and since I am a newbie, it might well not work, but shouldn't the following do what you want?

git log origin..master --> gives you the local commits not in origin git checkout -b merger git merge --squash <sha> <sha> <sha> ... git commit ...

-- 
martin;              (greetings from the heart of the sun.)
  \____ echo mailto: !#^."<*>"|tr "<*> mailto:" net@madduck
 
spamtraps: madduck.bogus@madduck.net
 
officer, arrest that man! he's whistling a copyrighted song.
Previous: Josh Boyer
Message 4 of 4 in “Lump commit HOWTO?”
  1. Josh BoyerJul 13, 2007
  2. Alex RiesenJul 13, 2007
  3. Josh BoyerJul 13, 2007
  4. martin f krafftJul 13, 2007

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.