hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:

위와 같은 에러가 나왔다면, 아래 3단계를 해보면 아마 될 것입니다.

  1. 올리고자 하는 디렉터리에 .git폴더 유무를 판단하고, 있다면 삭제해줍니다.
  2. git rm --cached 머기시를 쳐봅니다.
  3. git rm --cached . -rf를 실행하고 재시도해보면 아마 될 것입니다. ( 저는 성공했습니다. )

위 해결법은 깃안에서 화살표 달려있는 폴더로 표시되서 안으로 못 들어가는 에러도 해결됩니다!

각 단계를 실행하고, commit , push를 시도해 보세요 ㅎ

+ Recent posts