总结:
Untracked:不在Git里.
Unstaged:在Git里但没有commit.
Staged:在Git里且已commit

讯享网
how do you get staged changes?

If you want to see what you’ve staged that will go into your next commit, you can use git diff --staged. This command compares your staged changes to your last commit. The command compares what is in your working directory with what is in your staging area.
What does unstaged mean?
Adjective. unstaged (not comparable) (theater) Not formally staged; not presented to an audience on a stage. Occurring without any preplanning or preparation; genuine.
The “changes not staged for commit” message shows when you run the “git status” command and have a file that has been changed but has not yet been added to the staging area.
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/88404.html