Is it possible to modify the URL for a remote Git repository via Visual Studio 2013 if it happens to be set incorrectly? I'm getting the "famous" (and not very helpful) error that says:
"blah, blah...This transport isn't implemented. Sorry."
Is it possible to make this change via the command prompt?
I know the about the command git remote remove
but the name of the config should follow and I don't know how to determine what it is.
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.
To add a new remote, use the git remote add command on the terminal, in the directory your repository is stored at. The git remote add command takes two arguments: A unique remote name, for example, “my_awesome_new_remote_repo” A remote URL, which you can find on the Source sub-tab of your Git repo.
Visual Studio GitFrom 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.
You might want to open the .git\config
as a plain file from Visual Studio and edit its contents.
You'll see that there is a section defining the remote called origin
:
[remote "origin"] url = git://foo.org/blah.git fetch = +refs/heads/*:refs/remotes/origin/*
If you are using HTTPS (SSL) as a transport layer, then you might want to add:
[http] sslVerify = false
if you are using a self-issued SSL certificate on the server.
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