Skip to content

Instantly share code, notes, and snippets.

@mbeaty
Created July 22, 2011 06:37
Show Gist options
  • Save mbeaty/1098985 to your computer and use it in GitHub Desktop.
Save mbeaty/1098985 to your computer and use it in GitHub Desktop.
Rename repo name in github
* Use Admin page for repo, then
$ git remote rm origin
$ git remote -v # should be no output
$ git remote add origin [email protected]:username/newreponame.git
$ git remote -v # to verify new origin
$ git status # verify everything looks good
Then, rename your local directory containing your repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment