diff options
author | Jay Soffian <jaysoffian@gmail.com> | 2009-11-10 09:15:47 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-11-10 01:02:07 -0800 |
commit | f360d844de4b752b4cba2343b95592ae4d55d09a (patch) | |
tree | 91ddba611e6465acb229c83038b40e14e4c7fd79 /Documentation/fetch-options.txt | |
parent | 3cf6134ad016712ecb78186d9079b9cff7b25416 (diff) | |
download | git-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.txt | 4 |
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[] |