Type command to see current git remote url
$ git remote -v
Chnage git remote url
git remote set-url origin git@github.com:username/reponame.git
Or,
git remote set-url origin https://github.com/username/reponame.git
Verify again
$ git remote -v
0 comments:
Post a Comment