{"thread":{"id":"36173","subject":"git submodule update \"checkout\" update mode","startedAt":"2014-03-15T16:21:51Z","lastAt":"2014-03-15T16:21:51Z","messageCount":1,"participants":["乙酸鋰"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"236794","messageId":"CAHtLG6SPyDrD8YBpKv6bSvjtzJj8mak4ngF6_3XOPpy4VoXCXg@mail.gmail.com","threadId":"36173","inReplyTo":null,"subject":"git submodule update \"checkout\" update mode","fromName":"乙酸鋰","fromEmail":"ch3cooli@gmail.com","sentAt":"2014-03-15T16:21:51Z","receivedAt":"2014-03-15T16:21:51Z","isPatch":false,"sender":{"key":"ch3cooli@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2804967?v=4"},"body":"Hi,\n\nIn 2.0.0 release notes (00eda23),\nNewly cloned submodule repositories by \"git submodule update\",\n   when the \"checkout\" update mode is used, will be on a local\n   branch instead of on a detached HEAD, just like submodules added\n   with \"git submodule add\".\n\nIt is not clear.\n1. Is \"checkout\" update mode the default? (when without any command\nline options)\n2. Does \"merge\" update mode checkouts a local branch instead of on a\ndetached HEAD?\n"}]}