Can't clone a github repo on Linux via HTTPS

前端 未结 9 1414
别跟我提以往
别跟我提以往 2020-12-02 06:47

I\'m trying to do a simple git clone https://github.com/org/project.git on a CentOS box but get:

error: The requested URL returned error:

9条回答
  •  一向
    一向 (楼主)
    2020-12-02 07:23

    I had to specify user name to work on 1.7.1 git version:

    git remote set-url origin https://username@github.com/org/project.git
    

提交回复
热议问题