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

前端 未结 17 1335
自闭症患者
自闭症患者 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:22

    I found my answer here:

    edit ~/.gitconfig and add the following:

    [url "git@github.com:"]
     insteadOf = https://github.com/
    

    Although it solves a different problem, the error code is the same...

提交回复
热议问题