如何判断git clonebash脚本中是否有错误?
git clone
git clone git@github.com:my-username/my-repo.git
如果有错误,我想简单地说exit 1;
exit 1
linux git bash shell
bash ×1
git ×1
linux ×1
shell ×1