I know this is probably a really dumb question, but I can't figure it out. When you go to your branches, right click on one, and click publish, the first time it asks you for a URL and I put in the wrong one (one that doesn't even exist haha). So now whenever I try to publish a branch, it says it can't find it and I don't know how to change the URL because the option doesn't come up anymore.
To configure Git settings in Visual Studio, choose Settings from the top-level Git menu. Choose Git Global Settings or Git Repository Settings to view and configure global-level or repository-level settings. You can configure several common Git settings, as described in the following sections of this article.
Update the URL for Git repositories Run git remote -v to see the current remote URL. Update the remote URL with git remote set-url using the current and new remote URLs.
Visual Studio Git From the Git menu, choose Git > Settings and then select the Git Global Settings view. That view contains the name and email settings for the current user. Or, choose Git Repository Settings > General to edit the name and email settings for the current Visual Studio project repo.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With