author | Finn Arne Gangstad <finnag@pvv.org> | |
Fri, 3 Apr 2009 09:03:44 +0000 (11:03 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 5 Apr 2009 08:52:38 +0000 (01:52 -0700) | ||
commit | efa54803cb1dc15923799f94abf82cb0433c2b9b | |
tree | 6cb4725a694addf74782160c0ccf06795cbd9fb9 | tree | snapshot |
parent | b92c5f228a9c07fe339c8fd5406069602b6452f6 | commit | diff |
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>
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 | diff | blob | history | |
builtin-remote.c | diff | blob | history |