我尝试了这样的方法:
pushOut=`git push`
但是当我尝试时:
echo $pushOut
我得到一个空字符串
bash git variable
bash ×1
git ×1
variable ×1