Split checkout across multiple lines
This commit is contained in:
parent
fb4629fda5
commit
d344673f66
1 changed files with 2 additions and 1 deletions
|
@ -32,5 +32,6 @@ fi
|
||||||
|
|
||||||
cd "${gitdir}"
|
cd "${gitdir}"
|
||||||
"${git}" fetch origin
|
"${git}" fetch origin
|
||||||
"${git}" checkout "${branch}" || "${git}" checkout -t origin/"${branch}"
|
"${git}" checkout "${branch}" ||
|
||||||
|
"${git}" checkout -t origin/"${branch}"
|
||||||
printok "${branch} checked out"
|
printok "${branch} checked out"
|
||||||
|
|
Loading…
Reference in a new issue