TOOL » GIT

Fetch

Usage

Download objects and refs from remote repository.

shell
git fetch OPTIONS REMOTE
OptionDescription
-p --pruneRemove any remote-tracking references that no longer exist on the remote.
-P --prune-tagsRemove any local tags that no longer exist on the remote if --prune is enabled.
-t --tagsFetch all tags from the remote.