728x90
반응형
git clone 후 파일 add하는데 다음과 같은 오류가 나왔다....
fatal: not a git repository (or any of the parent directories): .git
==> 현재 폴더에 git에 대한 정보를 담은 파일이 없기 때문에 발생하는 에러
$ git init 명령어 입력
git init 명령어를 입력하면
Initialized empty Git repository in ~~~~~~~~
위 명령어 입력하고 나면 .git 파일이 생기고 오류도 해결된다.
728x90
반응형