Git – [ERROR] adding embedded git repository 해결
- 원인
- 저장소 내의 복수의 git 설정 존재

- 해당 디렉터리를 다시 add 하기 위해 git 캐시 제거
sudo git rm --cached jpro-profile/src/vendor/scssphp/scssphp
- .git 파일 검색
# .git이 포함된 검색
sudo find -name *.git*
# .git만 검색
sudo find -name '.git'

- root 경로의 .git 파일을 제외하고 모두 제거
sudo find . -mindepth 2 -name '.git' -prune -exec rm -rf {} +

- Commit
sudo git add jpro-profile/src/vendor/scssphp/
sudo git commit -a -m "submodule solve"