class Git::Commands::Remote::Rename

‘git remote rename` command

Renames a remote and updates all its remote-tracking branches and configuration settings.

@example Rename a remote

rename = Git::Commands::Remote::Rename.new(execution_context)
rename.call('origin', 'upstream')

@example Rename a remote with progress reporting

rename = Git::Commands::Remote::Rename.new(execution_context)
rename.call('origin', 'upstream', progress: true)

@example Suppress progress output during rename

rename = Git::Commands::Remote::Rename.new(execution_context)
rename.call('origin', 'upstream', no_progress: true)

@note ‘arguments` block audited against git-scm.com/docs/git-remote/2.53.0

@see Git::Commands::Remote

@see git-scm.com/docs/git-remote git-remote

@api private