상추의 IT저장소
Git) warning: adding embedded git repository 해결 본문
프로젝트를 생성하고 작업물을 git add . 명령어를 입력하니까

해당 에러가 발생했다.
찾아보니 clone해온 repository를 현재 폴더에 그대로 포함시키고 올리려고 해서 발생한 경고라고 한다.
프로젝트 내에 clone해온 프로젝트가 존재하여 .git 파일을 삭제하여 해결하였다.
참조 : https://velog.io/@kma7574/warning-adding-embedded-git-repository-%ED%95%B4%EA%B2%B0
'error' 카테고리의 다른 글
| Py)TypeError: can only concatenate str (not "int") to str 해결방법 (0) | 2023.01.12 |
|---|---|
| err) TypeScript 오류 - 이 시스템에서 스크립트를 실행할 수 없으므로... (0) | 2023.01.11 |
| Git) There isn’t anything to compare 해결 방법 (0) | 2023.01.10 |
| React) export 'Routes' (imported as 'Routes') was not found in 'react-router-dom' (0) | 2022.12.18 |
| error) VSCode 파일 자동 저장 설정/해제 (0) | 2022.11.26 |