Next: , Previous: , Up: Transferring   [Contents][Index]


7.2 Fetching

For information about the differences between the upstream and the push-remote, see Branching.

Also see the git-fetch(1) manpage.

f     (magit-fetch-popup)

This prefix command shows the following suffix commands along with the appropriate infix arguments in a popup buffer.

f p     (magit-fetch-from-pushremote)

Fetch from the push-remote of the current branch.

f u     (magit-fetch-from-upstream)

Fetch from the upstream of the current branch.

f e     (magit-fetch)

Fetch from another repository.

f o     (magit-fetch-branch)

Fetch a branch from a remote, both of which are read from the minibuffer.

f r     (magit-fetch-refspec)

Fetch from a remote using an explicit refspec, both of which are read from the minibuffer.

f a     (magit-fetch-all)

Fetch from all remotes.

f m     (magit-submodule-fetch)

Fetch all submodules. With a prefix argument fetch all remotes of all submodules.

Instead of using one popup for fetching and another for pulling, you could also use magit-pull-and-fetch-popup. See its doc-string for more information.