git 基本操作----git status

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

 

posted @ 2020-05-29 15:53  超级学渣渣  阅读(982)  评论(0编辑  收藏  举报