git init 실행시키니
Reinitialized existing Git repository in D:/포트폴리오/coding/2022 python/백준/.git/
라고 나오고
git add . 실행시키니
fatal: detected dubious ownership in repository at 'D:/포트폴리오/coding/2022 python/백준'
'D:/포트폴리오/coding/2022 python/백준' is on a file system that doesnot record ownership
To add an exception for this directory, call:
git config --global --add safe.directory 'D:/포트폴리오/coding/2022 python/백준'
라고 나오네요... 검색해도 영어로 된 사이트만 나와서 해석이 안되요..ㅠㅠ
유튜브에도 전부 맥으로 설명하는 영상밖에 없던데.. 뭐가 문제인가요?
말 그대로 Reinitialize 했다는 거 아닐까
이미 git이 있나본데
만들어놨던 깃에 계속 수정해서 업로드 하려는데 git add . git commit -m 'ing' git push origin master 이렇게 입력해도 전부 위에 오류코드가 뜹니다. 프로그래밍 초보여서 구글링하는 것도 어렵네요..ㅠ 전부 영어로된 영상이라 해석도 안되고... 2번째 오류는 뭐가 문제일까요?
아 오류 해석해서 밑에 있는 git config --global --add safe.directory 'D:/포트폴리오/coding/2022 python/백준' 라고 입력하니 해결됐어요!
initialize는 매일하는게 아님 알고 있었으면 미안
파일 위치 옮겨서 다시 init해야 되는줄 알고 git init 한거같아요..ㅠㅠ 알려주셔서 감사합니다.