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

Re: [PATCH/RFC] remote: support --all for the prune-subcommand

From
Jeff King <peff@peff.net>
Date
Oct 4, 2011, 07:00 UTC
Message-ID
<20111004070006.GA6824@sigill.intra.peff.net>
In-Reply-To
<1317644168-5808-1-git-send-email-kusmabite@gmail.com>
On Mon, Oct 03, 2011 at 02:16:08PM +0200, Erik Faye-Lund wrote:
> I recently needed to prune remote branches in a repo with a lot
> of remotes, and to my surprise "git remote prune" didn't support
> the --all option. So I added it. Perhaps this is useful for other
> people as well?
You could do:
  git remote update --prune

But I thought we were trying to get away from remote doing fetch-like things in the long term. Isn't the "right" way to do this these days:

  git fetch --all --prune
?
-Peff
Previous: Jacob HelwigNext: Erik Faye-Lund
Message 3 of 10 in “remote: support --all for the prune-subcommand”
  1. remote: support --all for the prune-subcommandErik Faye-Lund, Oct 3, 2011
  2. Jacob HelwigOct 3, 2011
  3. Jeff KingOct 4, 2011
  4. Erik Faye-LundOct 4, 2011
  5. Jeff KingOct 4, 2011
  6. Erik Faye-LundOct 4, 2011
  7. Erik Faye-LundOct 4, 2011
  8. Jeff KingOct 4, 2011
  9. Erik Faye-LundOct 4, 2011
  10. Jeff KingOct 12, 2011

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.