addRemote
Description
adds a new remote specified by remoteDetails
= addRemote(repo
,URL
)URL
to the Git™ repository repo
.
specifies additional options as one or more name-value arguments. Use this syntax to add a
remote name and a different push URL.remoteDetails
= addRemote(repo
,URL
,Name=Value
)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced in R2025a