git fetch
Download objects from remote without merging
RemoteSyntax
git fetch [remote]
Examples
git fetch origin— fetch origingit fetch --all— fetch --allgit fetch --prune— fetch --prune
Common flags & options
- •--all Fetch all remotes
- •--prune Remove stale refs