git statusコマンドでステータスを簡易フォーマットで表示する方法
git statusコマンドでステータスを簡易フォーマットで表示するには-sオプションを指定します。
オプションの説明
-s, --short Give the output in the short-format.
-sオプションを指定した場合
$ git status -s D COPYING M Makefile MM README.md M SECURITY.md ?? test.txt
-sオプションを指定しない場合
$ git status On branch master Your branch is up to date with 'origin/master'. Changes to be committed: (use "git restore --staged ..." to unstage) modified: README.md modified: SECURITY.md Changes not staged for commit: (use "git add/rm ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) deleted: COPYING modified: Makefile modified: README.md Untracked files: (use "git add ..." to include in what will be committed) test.txt
キャプチャ画像