본문 바로가기

git

git submodule update already exists and is not an empty directory.

728x90
반응형

git submodule 추가한 후에 젠킨스에서 배포시에 

자꾸 저렇게 directory 가 있다고 에러난다. 

git submodule deinit --force . 
git submodule init 
git submodule update --recursive

deinit이 서브모듈 삭제하는 명령어인데 

저렇게하고 init update하니까 폴더를 받아온다.

굿굿 

728x90
반응형