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

Re: Binary files in a linear repository

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Nov 2, 2009, 17:45 UTC
Message-ID
<20091102174546.GE27126@dpotapov.dyndns.org>
In-Reply-To
<20091102170106.GA8650@atjola.homenet>
On Mon, Nov 02, 2009 at 06:01:06PM +0100, Björn Steinbrink wrote:
Show 12 quoted lines
> 
> That would do, but:
> git checkout <commit>
> *make changes*
> git reset --soft master
> git checkout master
> git commit
> 
> seems unnecessarily complicated, when you could as well do:
> git read-tree -u --reset <commit>
> *make changes*
> git commit

I thought Markus *already* had made changes on that commit, but maybe I misread what he wrote...

Dmitry
Previous: Björn SteinbrinkNext: Björn Steinbrink
Message 7 of 8 in “Binary files in a linear repository”
  1. Markus HitterNov 2, 2009
  2. Björn SteinbrinkNov 2, 2009
  3. Dmitry PotapovNov 2, 2009
  4. Björn SteinbrinkNov 2, 2009
  5. Dmitry PotapovNov 2, 2009
  6. Björn SteinbrinkNov 2, 2009
  7. Dmitry PotapovNov 2, 2009
  8. Björn SteinbrinkNov 2, 2009

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.