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

submodule using revision

From
GGgregory grey <ror6ax@gmail.com>
Date
Nov 3, 2017, 13:42 UTC
Message-ID
<CACYWVif=zSiXpqVL0td+Mgu-Wz=AzDL50kREcXJY2Dtf_4_y_g@mail.gmail.com>
Hi guys.

Currently git submodule only works with branch of the submodule in question. Adding a functionality to work with a revision would be great from my point of view.

Proposed syntax is as follows: git submodule add -r commit_sha git://some_repository.git

Thanks!
-- 
http://ror6ax.github.io/
Next: Jacob Keller
Message 1 of 2 in “submodule using revision”
  1. gregory greyNov 3, 2017
  2. Jacob KellerNov 3, 2017

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.