not a git repository (or any of the parent directories): .git

2022. 1. 17. 01:06문제 해결

fatal: not a git repository (or any of the parent directories): .git

 

[원인]

 

현재 폴더에 git에 대한 정보를 담은 파일이 없기 때문에 발생하는 에러.

 

 

 

 

[해결]

 

 

$ git init 수행후 다시 $ git remote add 명령어 실행 

 

 

 

 

 

 

출처: 

 

ngee.tistory.com/2185