git statusコマンドで簡易フォーマットでブランチも表示する方法
git statusコマンドで簡易フォーマットでブランチも表示するには-bオプションを指定します。
オプションの説明
-b, --branch Show the branch and tracking info even in short-format. -s, --short Give the output in the short-format.
-bオプションを指定した場合(-sは簡易フォーマットで表示するオプション)
$ git status -b -s ## master...origin/master D COPYING M Makefile MM README.md M SECURITY.md ?? test.txt
-bオプションを指定しない場合
$ git status -s D COPYING M Makefile MM README.md M SECURITY.md ?? test.txt