git untracked 和 not staged的区别

untracked: 新文件,没add过

not staged: add过(甚至已经commit了),但是现在对其做了修改, 需要git add <file> 使得其到暂存区.

posted @ 2022-08-13 21:32  tslam  阅读(52)  评论(0编辑  收藏  举报