Unsupported URL Protocol when pushing to git repository
khuber
Posts: 2
I just started using SQL Source Control, and it is mostly working with my git repo.
I am able to:
1. Select a database and link it to a local folder with an associated remote git repo.
2. Auto-discover database objects
3. Auto-create the commit
However I was not able to Push the commit to the remote repository or retrieve from repository.
The error I'm receiving is "Unsupported URL Protocol"
I'm guessing this is happening because we are using git's ssh protocol ([url=ssh://git@stash:#]ssh://git@stash:#[/url]###/asdf/asdf.git) with RSA auth. I am able to push the commit using git bash, just not the SQL Source Control Push button.
Is this supported by SQL Source Control and are there any config changes I can make to get this working?
I am able to:
1. Select a database and link it to a local folder with an associated remote git repo.
2. Auto-discover database objects
3. Auto-create the commit
However I was not able to Push the commit to the remote repository or retrieve from repository.
The error I'm receiving is "Unsupported URL Protocol"
I'm guessing this is happening because we are using git's ssh protocol ([url=ssh://git@stash:#]ssh://git@stash:#[/url]###/asdf/asdf.git) with RSA auth. I am able to push the commit using git bash, just not the SQL Source Control Push button.
Is this supported by SQL Source Control and are there any config changes I can make to get this working?
Comments
You're spot on, this is because of using SSH.
I'm afraid that's not something we currently support in SQL Source Control, so you'll have to continue pushing using git bash.
If you'd like us to add support for SSH, please post a new suggestion on our Uservoice forum.
Redgate Software
A SQL Source Control Uservoice forum topic has now been created, which can be viewed using this LINK.
Please do vote and comment on this feature suggestion.
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com