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

Re: Problem getting older version

From
Petr Baudis <pasky@suse.cz>
Date
Oct 20, 2005, 01:42 UTC
Message-ID
<20051020014230.GV30889@pasky.or.cz>
In-Reply-To
<20051019080046.GI22986@schottelius.org>
  Hello,

Dear diary, on Wed, Oct 19, 2005 at 10:00:46AM CEST, I got a letter where Nico -telmich- Schottelius <nico-linux-git@schottelius.org> told me that...

> The following situation:
> 
> - The last commit was a merge, mhich broke some files
> - We want three files from the commit before
..snip..
> Is this really the standard way to recover a file? As a developer / end user I would expect that:
> 
> cg-recover <filename> <commit id> and -f for overwriting the file if it exists
  thanks for the suggestion. I've revamped cg-restore to support this
kind of syntax, so now if you do
	cg-restore -r ID [-f] FILENAME
it should do what you want.
-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Junio C HamanoNext: Nico -telmich- Schottelius
Message 3 of 4 in “Problem getting older version”
  1. Nico -telmich- SchotteliusOct 19, 2005
  2. Junio C HamanoOct 19, 2005
  3. Petr BaudisOct 20, 2005
  4. Nico -telmich- SchotteliusOct 24, 2005

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.