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


7.1 Remotes

Also see the git-remote(1) manpage.

M     (magit-remote-popup)

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

M a     (magit-remote-add)

Add a remote and fetch it. The remote name and url are read in the minibuffer.

M r     (magit-remote-rename)

Rename a remote. Both the old and the new names are read in the minibuffer.

M u     (magit-remote-set-url)

Change the url of a remote. Both the remote and the new url are read in the minibuffer.

M k     (magit-remote-remove)

Delete a remote, read from the minibuffer.

User Option: magit-remote-add-set-remote.pushDefault

Whether to set the value of remote.pushDefault after adding a remote.

If ask, then always ask. If ask-if-unset, then ask, but only if the variable isn’t set already. If nil, then don’t ever set. If the value is a string, then set without asking, provided that the name of the added remote is equal to that string and the variable isn’t already set.