📌  相关文章
📜  git 检查是否有阶段性更改 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:02.206000             🧑  作者: Mango

代码示例2
# bash check whether there are any staged changes in git
git diff --cached --quiet && echo nostaged || echo somestaged