How can I check if git has successfully cloned a repository, and based on that result, execute commands inside the bash script?
I was trying some combinations of grep
checking the output of git status
but I've only managed to confuse myself more.
I'm ruining timeout 60s git clone ...
so I must make sure the repository has cloned fully, and if it has not to skip whatever it would have done with the cloned data.