diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-06 15:25:44 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-06 15:25:44 -0800 |
commit | 664750f03dff9b27b2c2fe5381a720967c1b60c1 (patch) | |
tree | 6960e5a2646c836d9415e1aa4aace2cea9aad4f1 /git-remote.txt | |
parent | 615c3b305d84007474d17c62d54fc18c71fdc587 (diff) | |
download | git-htmldocs-664750f03dff9b27b2c2fe5381a720967c1b60c1.tar.gz |
Autogenerated HTML docs for v2.16.2-440-gc6284
Diffstat (limited to 'git-remote.txt')
-rw-r--r-- | git-remote.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/git-remote.txt b/git-remote.txt index 577b969c1..4feddc029 100644 --- a/git-remote.txt +++ b/git-remote.txt @@ -172,10 +172,14 @@ With `-n` option, the remote heads are not queried first with 'prune':: -Deletes all stale remote-tracking branches under <name>. -These stale branches have already been removed from the remote repository -referenced by <name>, but are still locally available in -"remotes/<name>". +Deletes stale references associated with <name>. By default, stale +remote-tracking branches under <name> are deleted, but depending on +global configuration and the configuration of the remote we might even +prune local tags that haven't been pushed there. Equivalent to `git +fetch --prune <name>`, except that no new references will be fetched. ++ +See the PRUNING section of linkgit:git-fetch[1] for what it'll prune +depending on various configuration. + With `--dry-run` option, report what branches will be pruned, but do not actually prune them. @@ -189,7 +193,7 @@ remotes.default is not defined, all remotes which do not have the configuration parameter remote.<name>.skipDefaultUpdate set to true will be updated. (See linkgit:git-config[1]). + -With `--prune` option, prune all the remotes that are updated. +With `--prune` option, run pruning against all the remotes that are updated. DISCUSSION |