Change remote origin url for a git repo

From within the repo issue:

git remote set-url origin [email protected]:droidzone/reponame.git

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.