Could not read from remote repository

前端 未结 21 3351
北荒
北荒 2020-12-15 02:30

I have received the following error multiple times:

Could not read remote repository. Please make sure you have the correct access rights and the repo

21条回答
  •  忘掉有多难
    2020-12-15 03:19

    I had same issue on my private Ubuntu server using ssh.

    My workaround solution was:

    open shell on my private server

    git init --bare /path/.git
    

    and then, from my developer laptop

    git push  
    

    has finally worked well.

    PS:

    I've never tried, but remote repo with https seems working better than ssh.

    I hope this help.

提交回复
热议问题