git status

来源:互联网 发布:安全防护软件 编辑:程序博客网 时间:2024/05/21 20:30

git-status - Show the working tree status

”Changes to be committed“已加入暂存区的,就是跟踪并,改动加入暂存区的文件
“Changed but not updated”没有加入暂存区的,就是跟踪,改动还没加入暂存区的
“Untracked files”没有被跟踪的文件

git status [<options>…​] [--] [<pathspec>…​]

参考文献:
https://git-scm.com/docs/git-status