How to change the url of a remote Git repository?
Let's say if you set the origin as the wrong repository URL of your git project, and you want to change the remote URL of the origin to the correct one.
Let's say if you set the origin as the wrong repository URL of your git project, and you want to change the remote URL of the origin to the correct one.
Shit Happens!! There are times where you named a branch wrong or want to make it more meaningful. Doing it locally is quite simple.
Git branches are important part of you daily development process, but once you or your team are finished with a feature and have merged it into your remote’s master branch, you would want to delete that branch from local repo as well as your remote.
There are many ways of doing this, some include custom scripts, app and even some paid services. We will do this using the simplest way of having multiple urls for a single remote.