Continue script execution when "git checkout" fails

This commit is contained in:
0x1eef 2024-07-21 22:24:44 -03:00
parent c41594ef62
commit ed588bd7d7

View file

@ -34,5 +34,5 @@ fi
"${git}" clone "${giturl}" "${gitdir}"
cd "${gitdir}"
"${git}" config core.filemode off
"${git}" checkout -t origin/"${branch}"
"${git}" checkout -t origin/"${branch}" || true
printok "clone complete"