go get results in 'terminal prompts disabled' error for github private repo

前端 未结 7 1466
余生分开走
余生分开走 2020-11-30 16:50

I created the private repo examplesite/myprivaterepo using the Github UI from my browser.

Then I went to my go directory (on the desktop) and cloned it:



        
相关标签:
7条回答
  • 2020-11-30 17:23

    I had the same problem on windows "error: failed to execute prompt script (exit code 1) fatal: could not read Username for 'https://github.com': No error" trying to login to github through the login dialog. When I canceled the dialog git asked me for login and password in the command line and it worked fine.

    0 讨论(0)
提交回复
热议问题