Failed to execute git clone –no-checkout "https://hy:***@gitlab.xnhd.com/x
/core.git" "D:\\\\wnmp\\\\wwwroot\\\\test\\\\www.xnhd.com\\\\vendor\\\\xnhd\\\\core" && cd /D "D
:\\\\wnmp\\\\wwwroot\\\\test\\\\www.xnhd.com\\\\vendor\\\\xnhd\\\\core" && git remote add compos
er "https://hy:***@gitlab.xnhd.com/x/core.git" && git fetch composer
Cloning into 'D:\\\\wnmp\\\\wwwroot\\\\test\\\\www.xnhd.com\\\\vendor\\\\xnhd\\\\core'…
fatal: Authentication failed for 'https://hy:***@gitlab.xnhd.com/x/core.git
/'
解決辦法:
進入C盤的Users目錄,C:\\\\Users\\\\huy\\\\AppData\\\\Roaming\\\\Composer\\\\auth.json 去編輯下auth.json這個文件,把用戶名和密碼改成正確的用戶名和密碼 。
更多關(guān)于云服務(wù)器,域名注冊,虛擬主機的問題,請訪問西部數(shù)碼官網(wǎng):m.ps-sw.cn