差分があるかを終了ステータスで取得 # --exit-codeを使用する git diff --cached --exit-code Gitのdiffコマンドにある–exit-codeオプション
GitAugust 11, 2024差分があるかを終了ステータスで取得## --exit-codeを使用する git diff --cached --exit-code Gitのdiffコマンドにある–exit-codeオプション