In this article let’s discuss about How to set git origin. Let’s go through the following methods without any delay.
git remote -v git remote set-url origin https://github.com/USERNAME/REPOSITORY.git
If you are facing any issues with the above approach then try the alternative that is given below. It may look similar but have a try!
Method 2 :
git remote set-url origin email@example.com:/your-repository.git
Hope the above solution works.