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

Re: Restart submodule update --recursive

From
LPLukasz Palczewski <l.palczewski@prevac.pl>
Date
Oct 29, 2010, 07:28 UTC
Message-ID
<loom.20101029T091828-728@post.gmane.org>
In-Reply-To
<201010281235.14313.johan@herland.net>
Hi Johan,
Johan Herland writes:
Show 8 quoted lines
> [...]
> You could for example try something like (all on one line):
> 
> git submodule foreach --recursive "git fetch && git stash && git 
> checkout $sha1 && git stash pop; true"
> 
> ...Johan
> 

Thanks for the suggestion. Using s script in a command good idea, but it will work only for the local changes (I think), so I am continuing with a second suggestion from Jonathan. If it works, it would not matter what error arises.

Lukasz Palczewski
Previous: Johan HerlandNext: Jonathan Nieder
Message 3 of 11 in “Restart submodule update --recursive”
  1. Lukasz PalczewskiOct 28, 2010
  2. Johan HerlandOct 28, 2010
  3. Lukasz PalczewskiOct 29, 2010
  4. Jonathan NiederOct 28, 2010
  5. Lukasz PalczewskiOct 29, 2010
  6. Jonathan NiederOct 29, 2010
  7. Lukasz PalczewskiOct 29, 2010
  8. Jonathan NiederOct 29, 2010
  9. Jens LehmannOct 30, 2010
  10. Lukasz PalczewskiNov 2, 2010
  11. Jens LehmannNov 2, 2010

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.