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

Re: Updating submodules

From
PMPat Maddox <pergesu@gmail.com>
Date
Apr 5, 2008, 23:08 UTC
Message-ID
<810a540e0804051608s6b6580a3vd4bf9ae04c22f3d4@mail.gmail.com>
In-Reply-To
<32541b130804051601w4f7976cawde47a70e04790511@mail.gmail.com>
On Sat, Apr 5, 2008 at 4:01 PM, Avery Pennarun <apenwarr@gmail.com> wrote:
Show 9 quoted lines
>
> On 4/5/08, Pat Maddox <pergesu@gmail.com> wrote:
>  > Do I need to cd into each submodule dir and fetch/rebase?  git
>  >  submodule update doesn't seem to do anything, though I would assume
>  >  it's used to update the submodules...
>
>  "git submodule update" updates each submodule to the version that was
>  checked into the supermodule.  It doesn't do anything like fetch,
>  rebase, or pull.

Okay. So I've got a parent repo with three submodules. I've been working in one submodule and have been committing changes. Now I wanted to get the latest changes upstream...I have to rebase that repo individually, right?

Pat
Previous: Avery PennarunNext: Avery Pennarun
Message 3 of 4 in “Updating submodules”
  1. Pat MaddoxApr 5, 2008
  2. Avery PennarunApr 5, 2008
  3. Pat MaddoxApr 5, 2008
  4. Avery PennarunApr 5, 2008

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.