Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 348 Bytes

rename-a-remote.md

File metadata and controls

19 lines (13 loc) · 348 Bytes

How to Rename a Remote


Change the name to a remote for your repository.

$ git remote rename <old_name> <new_name> 

Check the list of your remotes to make sure you successfully renamed the remote.

$ git remote
origin
<new_name> 

link