Introduction :
- What is remote ? Remote repositories are versions of your project that are hosted on the Internet or network somewhere
- What is origin ? If you’ve cloned your repository, you should at least see origin — that is the default name Git gives to the server you cloned from
- What does git remote do ? To see which remote servers you have configured, you can run the
git remote
command. It lists the shortnames of each remote handle you’ve specified.
How to :
- git remote rm origin //this will remove the previous origin
- git remote add origin <new url location> //this will add the new location on github as the remote
References :
No comments:
Post a Comment