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

[New Feature] git-submodule-move - Easily move submodules

From
TTJ <git@iam.tj>
Date
Feb 3, 2013, 22:36 UTC
Message-ID
<510EE661.8060600@iam.tj>
I've recently had need to re-arrange more than ten submodules within a project and discovered there is apparently no easy way to do it.

Using some suggestions I found on Stack Overflow I eventually figured out the steps required. Because the steps can be complex I thought it would be handy to have a tool to automate the functionality.

I have put together a reasonably bullet-proof shell script "git-submodule-move" that does the job pretty well. I've put it through quite a bit of testing and trusted it with my own project and it has performed well.

I've published to github so others can use and improve it.
https://github.com/iam-TJ/git-submodule-move
Next: W. Trevor King
Message 1 of 3 in “[New Feature] git-submodule-move - Easily move submodules”
  1. TJFeb 3, 2013
  2. W. Trevor KingFeb 3, 2013
  3. Jens LehmannFeb 4, 2013

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.