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

Re: 'git worktree repair' can't repair when main and linked worktrees are moved

From
Philippe Blain <levraiphilippeblain@gmail.com>
Date
Dec 4, 2020, 23:21 UTC
Message-ID
<8F01BDC6-81AD-4052-B11E-FFAA6A4C641E@gmail.com>
In-Reply-To
<63AC7AC2-5D32-479B-BF9E-0E5C31351A1B@gmail.com>
Show 5 quoted lines
> Le 4 déc. 2020 à 18:14, Philippe Blain <levraiphilippeblain@gmail.com> a écrit :
> 
> I tried several things:
> 
> ( cd git && git repair )
Oups, please read 'git worktree repair' here and below.
> ( cd git && git repair ../git2 )
> ( cd git && git repair /old/path/to/old/filesystem/git2 )
> ( cd git2 && git repair /old/path/to/old/filesystem/git2 )
> ( cd git2 && git repair ../git )
Previous: Philippe BlainNext: Eric Sunshine
Message 2 of 5 in “'git worktree repair' can't repair when main and linked worktrees are moved”
  1. Philippe BlainDec 4, 2020
  2. Philippe BlainDec 4, 2020
  3. Eric SunshineDec 5, 2020
  4. Eric SunshineDec 8, 2020
  5. Philippe BlainDec 8, 2020

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.