Changing git remote origin

PUBLISHED ON APR 13, 2014 — IMPORTED FROM TUMBLR, TEXT

“Midway through development we decided to switch from private shared accounts to a corporate account. Switching local repos couldn’t be easier:”

git remote rm origin  #Removes old origin
git remote add origin https://username@bitbucket.org/your.new.repo        
#Adds new origin pointing to BitBucket
git push -u origin  #Pushes commits to new repo

[I love it when this stuff works so easily.] src