mirror of https://github.com/CrimsonTome/tldr.git
10 lines
270 B
Markdown
10 lines
270 B
Markdown
|
# git rename-remote
|
||
|
|
||
|
> Change remote for pulling and pushing.
|
||
|
> Part of `git-extras`.
|
||
|
> More information: <https://github.com/tj/git-extras/blob/master/Commands.md#git-rename-remote>.
|
||
|
|
||
|
- Change the upstream remote to origin:
|
||
|
|
||
|
`git rename-remote {{upstream}} {{origin}}`
|