7.1.2 Remote Git Variables
These variables can be set from the transient prefix command magit-remote-configure
. By default they can also be set from magit-remote
. See Remote Commands.
variable
remote.NAME.url​
This variable specifies the url of the remote named NAME. It can have multiple values.
variable
remote.NAME.fetch​
The refspec used when fetching from the remote named NAME. It can have multiple values.
variable
remote.NAME.pushurl​
This variable specifies the url used for fetching from the remote named NAME. If it is not specified, then remote.NAME.url
is used instead. It can have multiple values.
variable
remote.NAME.push​
The refspec used when pushing to the remote named NAME. It can have multiple values.
variable
remote.NAME.tagOpts​
This variable specifies what tags are fetched by default. If the value is --no-tags
then no tags are fetched. If the value is --tags
, then all tags are fetched. If this variable has no value, then only tags are fetched that are reachable from fetched branches.