How do I change the GitHub URL in Visual Studio?
- Go to your repo directory at C or D disk.
- Change your directory settings to display hidden files from top of Windows Explorer.
- Open .git directory, then display "config" file.
- Open "config" file and change "[remote "origin"] url" row which is like; " ... [remote "origin"] url = https://[email protected]/x/xxx.git ... "
- using new git repo address at Visual Studio
2013: If you cannot change it through Visual Studio, you can at least look for it in the local config of your repo through the command line:
cd /path/to/your/repo
git config --edit
And you would change it there.
Since 2013, Git has been fully integrated to Visual Studio, and you can access the remote git repository for a Visual Studio solution