JAEN

Git

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

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store