$ git clone http://gitlab2.xxx/test.git
$ cd Unit_partner/
$ git pull
顯示Already up to date,但是只有目錄履澳,沒(méi)有文件
查看狀態(tài)嘶窄,顯示已經(jīng)被刪除
$ git status
處理方案:
$ git fetch --all
$ git reset --hard develop
$ git pull
此時(shí)再次查看,代碼已拉取成功
$ git clone http://gitlab2.xxx/test.git
$ cd Unit_partner/
$ git pull
顯示Already up to date,但是只有目錄履澳,沒(méi)有文件
查看狀態(tài)嘶窄,顯示已經(jīng)被刪除
$ git status
處理方案:
$ git fetch --all
$ git reset --hard develop
$ git pull
此時(shí)再次查看,代碼已拉取成功