Remember that each file in your working directory can be in one of two states : TRACKED OR UNTRACKED.
tracked files are files that WERE IN THE LAST SNAPSHOT; they can be unmodified, modified, or staged. in short, tracked files are files that Git knows about.
Untracked files are everything else - any files in your working directory THAT WERE NOT IN YOUR LAST SNAPSHOT AND ARE NOT IN YOUR STAGING AREA. When you first clone a repository, all of your files will be tracked and unmodified because Git just checked them out and you haven't edited anything.
tracked files are files that WERE IN THE LAST SNAPSHOT; they can be unmodified, modified, or staged. in short, tracked files are files that Git knows about.
Untracked files are everything else - any files in your working directory THAT WERE NOT IN YOUR LAST SNAPSHOT AND ARE NOT IN YOUR STAGING AREA. When you first clone a repository, all of your files will be tracked and unmodified because Git just checked them out and you haven't edited anything.
댓글
댓글 쓰기