git-rename-remote(1)
Rename a remote
Description
GIT-RENAME-REMOTE
NAME
git-rename-remote - Rename a remote
SYNOPSIS
git-rename-remote <old-remote-name> <new-remote-name>
DESCRIPTION
Rename a git remote regardless of name conflict, and then list current git remotes
OPTIONS
<old-remote-name>
The name of the remote you want to rename.
<new-remote-name>
The new name of the remote.
EXAMPLES
$ git remote -v
|
[email protected]:myuser/foo.git (fetch) | |||
|
[email protected]:myuser/foo.git (push) | |||
|
[email protected]:myuser/bar.git (fetch) | |||
|
[email protected]:myuser/bar.git (push) |
$ git-rename-remote upstream origin
|
[email protected]:myuser/bar.git (fetch) | |||
|
[email protected]:myuser/bar.git (push) |
AUTHOR
Written by timfeirg <[email protected]>
REPORTING BUGS
<https://github.com/tj/git-extras/issues>
SEE ALSO
<https://github.com/tj/git-extras>