멀쩡히 작업했더 디렉토리인데 vscode의 extension에 log가 보이지가 않았다.
그래서 직접 git log를 쳐봤는데 다음 같은 내용이 나왔다.
fatal: unsafe repository ('repo 경로' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory repo 경로
Set the environment variable GIT_TEST_DEBUG_UNSAFE_DIRECTORIES=true and run
again for more information.
내 레포를 다른 누가 소유하고 있다고?
저 레포가 다른 사람과 같이 작업하고 있는 공간인건 맞지만 그 전까진 저게 안 떴었는데 뭘까..?
그래도 뭐 결론적으론 위 설명에 나온 명령어를 그대로 쳐주면 된다.
git config --global --add safe.directory repo 경로
갑작스런 에러였지만 간단스레 해결 완료
추가로 다른 글을 보니 개인 레포인데도 뜬 사람이 있던데 왤까..?