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

Git mv -- submodule -- recursive

From
Bart Bogaerts <bartbogaerts@gmail.com>
Date
Jun 27, 2016, 06:01 UTC
Message-ID
<CAOG-3GJdH5q9fdj+7zdEv-UUZMTAnunZu1PRJYjFNV360r6+sQ@mail.gmail.com>
With a repo structured as follows
main-files
|- submod
    |- subsubmodule
git mv submod newlocation

does not do what it is supposed to do. It actually breaks the git repository. It can be fixed easily. A complete description of the bug, including a workaround, can be found on http://stackoverflow.com/q/32782382/2274140

-- 
Bart Bogaerts
Next: Stefan Beller
Message 1 of 4 in “Git mv -- submodule -- recursive”
  1. Bart BogaertsJun 27, 2016
  2. Stefan BellerJun 27, 2016
  3. Bart BogaertsJun 27, 2016
  4. Stefan BellerJun 27, 2016

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.