Skip to content

Commit 9e70233

Browse files
peffgitster
authored andcommitted
fetch: document that pruning happens before fetching
This was changed in 10a6cc8 (fetch --prune: Run prune before fetching, 2014-01-02), but it seems that nobody in that discussion realized we were advertising the "after" explicitly. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7654286 commit 9e70233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/fetch-options.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ ifndef::git-pull[]
5151

5252
-p::
5353
--prune::
54-
After fetching, remove any remote-tracking references that no
54+
Before fetching, remove any remote-tracking references that no
5555
longer exist on the remote. Tags are not subject to pruning
5656
if they are fetched only because of the default tag
5757
auto-following or due to a --tags option. However, if tags

0 commit comments

Comments
 (0)