git remote update: New option --prune
commitefa54803cb1dc15923799f94abf82cb0433c2b9b
authorFinn Arne Gangstad <finnag@pvv.org>
Fri, 3 Apr 2009 09:03:44 +0000 (3 11:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 5 Apr 2009 08:52:38 +0000 (5 01:52 -0700)
tree6cb4725a694addf74782160c0ccf06795cbd9fb9
parentb92c5f228a9c07fe339c8fd5406069602b6452f6
git remote update: New option --prune

With the --prune (or -p) option, git remote update will also prune
all the remotes that it fetches.  Previously, you had to do a manual
git remote prune <remote> for each of the remotes you wanted to
prune, and this could be tedious with many remotes.

A single command will now update a set of remotes, and remove all
stale branches: git remote update -p [group]

Signed-off-by: Finn Arne Gangstad <finnag@pvv.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote.txt
builtin-remote.c