I am receiving this 'This repository moved. Please use the new location'
when I use git push
this appears after am changing my user name on Github.
Do this to update your repo's address in your local repository. Replace new_username
and repository_name
as necessary.
git remote set-url origin [email protected]:new_username/repository_name.git