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

[RFE]: git submodule commit push

From
Randall S. Becker <rsbecker@nexbridge.com>
Date
Jan 16, 2020, 17:00 UTC
Message-ID
<005801d5cc8e$7ae618e0$70b24aa0$@nexbridge.com>
Hi All,

I'm finding that I have a frequent need to commit and push submodule changes because the submodule is currently subject to a whole bunch of changes. The submodule is pretty deep down in the java path of a maven project - so 7 directories down from the git root. It's a bloody pain to constantly change directories to get down there and back up to where I am working. If IntelliJ supported submodules explicitly, I might not be whining about this, but I'm having to swap to the CLI.

My suggestion is that provision be made for the support of
git submodule commit [ --recursive ] [--] [<path>.]
and
git submodule push [ --recursive ] [--] [<path>.]

with all the trappings that come with commit and push. I have a feeling this is a pretty big ask, as it will really pulling in a lot of other commands, including add.

Am I barking up the wrong tree?

Thanks, Randall

-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.
Next: Andreas Schwab
Message 1 of 3 in “[RFE]: git submodule commit push”
  1. Randall S. BeckerJan 16, 2020
  2. Andreas SchwabJan 16, 2020
  3. Randall S. BeckerJan 16, 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.