LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-rename-remote

Rename a Git remote

TLDR

Rename remote
$ git rename-remote [old_name] [new_name]
copy

SYNOPSIS

git rename-remote oldname newname

DESCRIPTION

git rename-remote renames a Git remote. Part of git-extras, it is a convenience wrapper around `git remote rename`.

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

CAVEATS

Requires git-extras to be installed. The standard `git remote rename` command provides equivalent functionality and is available in all Git installations.

SEE ALSO

Copied to clipboard
Kai