Reputation: 949
When i try to clone the project i'm getting this error and i don't have idea what is happening. I couldn't find a clear answer so if anyone have had this problem before let me know how did you solved it. Thanks!
Upvotes: 1
Views: 2098
Reputation: 1
I started randomly running into this same error for a repository that was working fine previously. Switching remote URLs from the https protocol to ssh resolved the issue for me.
https://docs.github.com/en/github/using-git/changing-a-remotes-url
Upvotes: 0
Reputation: 949
I had to add an SSH keys into Bitbucket-->Personal settings, remove the local repository and clone it again through SSH option. I don't know why.
Upvotes: 1