git status

git status 以查看在你上次提交之后是否有修改。

我演示该命令的时候加了 -s 参数,以获得简短的结果输出。如果没加该参数会详细输出内容:

$ git status
On branch master

Initial commit

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)

    new file:   README
    new file:   hello.php

 

相关文章:

  • 2021-08-16
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2021-12-04
  • 2021-11-30
  • 2021-11-20
  • 2021-11-01
相关资源
相似解决方案