summaryrefslogtreecommitdiff
path: root/Documentation/fetch-options.txt
diff options
context:
space:
mode:
authorJay Soffian <jaysoffian@gmail.com>2009-11-10 09:15:47 +0100
committerJunio C Hamano <gitster@pobox.com>2009-11-10 01:02:07 -0800
commitf360d844de4b752b4cba2343b95592ae4d55d09a (patch)
tree91ddba611e6465acb229c83038b40e14e4c7fd79 /Documentation/fetch-options.txt
parent3cf6134ad016712ecb78186d9079b9cff7b25416 (diff)
downloadgit-f360d844de4b752b4cba2343b95592ae4d55d09a.tar.gz
builtin-fetch: add --prune option
Teach fetch to cull stale remote tracking branches after fetching via --prune. Signed-off-by: Jay Soffian <jaysoffian@gmail.com> Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/fetch-options.txt')
-rw-r--r--Documentation/fetch-options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/fetch-options.txt b/Documentation/fetch-options.txt
index 8b0cf58196..500637a08b 100644
--- a/Documentation/fetch-options.txt
+++ b/Documentation/fetch-options.txt
@@ -28,6 +28,10 @@ ifndef::git-pull[]
--multiple::
Allow several <repository> and <group> arguments to be
specified. No <refspec>s may be specified.
+
+--prune::
+ After fetching, remove any remote tracking branches which
+ no longer exist on the remote.
endif::git-pull[]
ifdef::git-pull[]