echo"default commit to current branch the first remote "; git config --global core.quotepath false v_detail=$(git status --porcelain | sed $'s/\"/\\"/g' );
v_test=$(echo$v_detail | grep ^fatal:.* )
if [ ! -z $v_test ];then echo"do you sure this is a git repostory???" read -n 1 i; exit; fi
Comments