Rename a git remote repo

While my previous post does detail how to remove remote branches from your repo, I fear that it mistakenly sends you down that path as a means of renaming branches from a remote repo. Like most other functionality, if you think Git should already have it, it probably does.

To rename a remote repo to something else just use (following previous example):

git remote rename origin moe

Tada!

Advertisements

2 thoughts on “Rename a git remote repo

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s