Clone repository with submodules using HTTPS authentication

matisilver88 January 21, 2020

Hi, I`m using sourcetree for Windows as a git client.

Also, I have my code in bitbucket.

I Have several repositories. One of them, has submodules. I`ve been using https authentication for a couple of years, but i see that is complicated using that way of authentication when you have a repo with submodules, it shows the following error on the submodules:


"FATAL ERROR: Server sent disconnect message
type 2 (protocol error):
"Connection blocked because server only allows public key authentication. Please contact your network administrator."
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists."

I can´t use ssh because of firewall rules.

How can i configured correctly the repository so i can use it?

Thanks

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events