How can we rename a remote repository?

We can use command git remote rename for changing the name of a remote repository. This changes the short name associated with a remote repository in your local. Command would look as follows:

git remote rename repoOldName repoNewName

Leave a Reply

Your email address will not be published. Required fields are marked *