fatal: could not read Username for 'https://github.com': No such file or directory

前端 未结 17 1313
自闭症患者
自闭症患者 2020-12-02 18:13

I have the following problem when I try to pull code using git Bash on Windows:

fatal: could not read Username for \'https://github.com\': No such file or dir         


        
17条回答
  •  失恋的感觉
    2020-12-02 18:21

    Follow the steps to setup SSH keys here: https://help.github.com/articles/generating-ssh-keys

    OR

    git remote add origin https://{username}:{password}@github.com/{username}/project.git
    

提交回复
热议问题