o-ohi-code 님의 블로그

nothing added to commit but untracked files present (use git add to track) 해결 본문

Tool/Githup

nothing added to commit but untracked files present (use git add to track) 해결

o-ohi-code 2025. 3. 26. 14:42

 

🤔 nothing added to commit but untracked files present (use git add to track) 오류가 나는 이유가 뭘까?

  • 이는 error 가 아닌 Git 이 알려주는 정보 메시지로.
  • "아직 커밋할 파일이 선택되지 않았어" 라는 뜻이다.
  • git add 명령어커밋할 파일을 저장하지 않았기 때문에 발생하는 문제이다.

nothing added to commit but untracked files present (use git add to track) 해결 방법

git add .
git commit -m "Initial commit"