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

Feature Request: `git remote prune --all`

From
Travis Carden <travis.carden@gmail.com>
Date
Aug 17, 2014, 00:52 UTC
Message-ID
<CAByVDef1_7x8Q1SL5wMtrKJQE51gvEOiKJ4xkpexXN5omBDn-Q@mail.gmail.com>

I would like to propose the addition of a `git remote prune --all` command option or similar mechanism for pruning all remotes in a repository. For lack of such a feature, I've been using the following bash alias:

alias git-remote-prune-all='for REMOTE in `git remote`; do echo "Pruning $REMOTE"; git remote prune $REMOTE; done;'

Next: Jeff King
Message 1 of 3 in “Feature Request: `git remote prune --all`”
  1. Travis CardenAug 17, 2014
  2. Jeff KingAug 17, 2014
  3. Travis CardenAug 18, 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.