Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 723 Bytes

TIL-220324.md

File metadata and controls

24 lines (17 loc) · 723 Bytes

Today


  • 타입스크립트 연습(3.0-3.7)
  • 객체 코플릿 복습
  • 봐도 봐도 까먹는 나는야 까마귀

오늘 만난 깃 에러

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

Untracked files:
(use "git add <file>..." to include in what will be committed)
../.DS_Store

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

문제: git으로 프로젝트를 관리하다 보면 깃으로 추적되지 않는 untracked파일이 쌓이는 경우가 있다. 나는 이게 뭐지? 하고 그냥 푸쉬해줬는데.. 이 파일을 지우는 방법이 있었다.

untracked파일을 모두 지우려면 git clean -f