rename_remote


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[]? rename_remote (string name, string new_name) throws Error

Rename the remote of this from name to new_name.

Parameters:

this

a Repository.

name

the remote name to be renamed.

new_name

new name of the remote.

Returns:

non-default refspecs that cannot be renamed.