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

git submodule update "checkout" update mode

From
乙酸鋰 <ch3cooli@gmail.com>
Date
Mar 15, 2014, 16:21 UTC
Message-ID
<CAHtLG6SPyDrD8YBpKv6bSvjtzJj8mak4ngF6_3XOPpy4VoXCXg@mail.gmail.com>
Hi,
In 2.0.0 release notes (00eda23),
Newly cloned submodule repositories by "git submodule update",
   when the "checkout" update mode is used, will be on a local
   branch instead of on a detached HEAD, just like submodules added
   with "git submodule add".
It is not clear.
1. Is "checkout" update mode the default? (when without any command
line options)
2. Does "merge" update mode checkouts a local branch instead of on a
detached HEAD?
Message 1 of 1 in “git submodule update "checkout" update mode”
  1. 乙酸鋰Mar 15, 2014

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.