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