logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

git-rename-remote - Rename a remote

Author

       Written by timfeirg <kkcocogogo@gmail.com>

Description

       Rename a git remote regardless of name conflict, and then list current git remotes

Examples

       $ git remote -v
       origin    git@myserver.com:myuser/foo.git (fetch)
       origin    git@myserver.com:myuser/foo.git (push)
       upstream  git@myserver.com:myuser/bar.git (fetch)
       upstream  git@myserver.com:myuser/bar.git (push)
       $ git-rename-remote upstream origin
       origin    git@myserver.com:myuser/bar.git (fetch)
       origin    git@myserver.com:myuser/bar.git (push)

Name

git-rename-remote - Rename a remote

Options

       <old-remote-name>

       The name of the remote you want to rename.

       <new-remote-name>

       The new name of the remote.

Reporting Bugs

       <https://github.com/tj/git-extras/issues>

See Also

       <https://github.com/tj/git-extras>

                                                  October 2024                              GIT-RENAME-REMOTE(1)

Synopsis

git-rename-remote <old-remote-name> <new-remote-name>

See Also