TOOL » GIT
Fetch
Usage
Download objects and refs from remote repository.
shell
git fetch OPTIONS REMOTE
Option | Description |
---|---|
-p --prune | Remove any remote-tracking references that no longer exist on the remote. |
-P --prune-tags | Remove any local tags that no longer exist on the remote if --prune is enabled. |
-t --tags | Fetch all tags from the remote. |