failed to execute prompt script (exit code 1)
could not read Username for 'https://*****': No such file or directory
不知道什么情況,想要拉取更新代碼的時候突然出現(xiàn)這個錯誤(是因為電腦管家清理空間誤刪了??不太理解,有無大佬講解一下)
解決方案就是打開項目文件==》打開.git文件==》打開config文件
會看到:
[remote "origin"]
?? ?url = 項目克隆下來的地址
?? ?fetch = +refs/heads/*:refs/remotes/origin/*
然后我們需要在地址中間插上自己git的用戶名和密碼 還有@,格式為[userName]:[password]@
具體位置在http://后面,直接插入就可以了
url = https://[userName]:[password]@****************.git文章來源:http://www.zghlxwxcb.cn/news/detail-692635.html
這樣就可以啦,可以正常拉取推送代碼文章來源地址http://www.zghlxwxcb.cn/news/detail-692635.html
到了這里,關(guān)于failed to execute prompt script (exit code 1)could not read Username for ‘https://*.cn‘: No such fil的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!