1GIT-RENAME-REMOTE(1) Git Extras GIT-RENAME-REMOTE(1)
2
3
4
6 git-rename-remote - Rename a remote
7
9 git-rename-remote <old-remote-name> <new-remote-name>
10
12 Rename a git remote regardless of name conflict, and then list current
13 git remotes
14
16 <old-remote-name>
17
18 The name of the remote you want to rename.
19
20 <new-remote-name>
21
22 The new name of the remote.
23
25 $ git remote -v
26 origin git@myserver.com:myuser/foo.git (fetch)
27 origin git@myserver.com:myuser/foo.git (push)
28 upstream git@myserver.com:myuser/bar.git (fetch)
29 upstream git@myserver.com:myuser/bar.git (push)
30 $ git-rename-remote upstream origin
31 origin git@myserver.com:myuser/bar.git (fetch)
32 origin git@myserver.com:myuser/bar.git (push)
33
35 Written by timfeirg <kkcocogogo@gmail.com>
36
38 <https://github.com/tj/git-extras/issues>
39
41 <https://github.com/tj/git-extras>
42
43
44
45 May 2019 GIT-RENAME-REMOTE(1)