git fetch
SafeFetch from remote
git fetch --all --prune
Downloads remote changes without merging; --prune cleans deleted branches.
Examples
git fetch --all --pruneFetch all and prune
Syntax
git fetch [--all] [--prune]
Before you run it
Fetch only; working tree unchanged.
Related commands
- git pullPull from remote
- git remoteRemotes
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store