在拉取gitee代碼時(shí),直接復(fù)制項(xiàng)目的Http地址,如
https://gitee.com/silvester_sz_admin/mienr.git
到Android Studio中進(jìn)行clone,克隆失敗,提示:
fatal: could not read Username for ‘https://gitee.com‘: No such file or directory
需要將gitee賬號(hào)的用戶名密碼帶到clone地址中,如
https://username:password@gitee.com/silvester_sz_admin/mienr.git
其中,username為gitee賬號(hào)的用戶名,password為密碼。