bitbucket can't pull/push from repository

前端 未结 20 1727
鱼传尺愫
鱼传尺愫 2021-02-06 23:04

So basically I have a server where I have bitbucket git repository set up. I\'ve been using it for months and now out of the blue sky when I try to pull I get the following erro

20条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-06 23:35

    This issue is caused by incorrect git configuration. Open .git folder in root folder of your project and in config file please find the line that starts with

    url = git@bitbucket.org

    Most probably you have specified protocol there and defined url like url = ssh://git@bitbucket.org

    remove ssh:// and it should do the trick for you.

提交回复
热议问题