Continue script execution when "git checkout" fails
This commit is contained in:
parent
c41594ef62
commit
ed588bd7d7
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue