mirror of
https://github.com/luzifer-docker/pvc-git.git
synced 2024-12-20 14:21:18 +00:00
Fix missing branch reference
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0dd8596f00
commit
dff27205e3
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ function run_restore() {
|
||||||
git remote add origin "${REMOTE}"
|
git remote add origin "${REMOTE}"
|
||||||
|
|
||||||
info "Fetching remote to reset..."
|
info "Fetching remote to reset..."
|
||||||
git fetch ${REMOTE} ${BRANCH} || {
|
git fetch origin ${BRANCH} || {
|
||||||
error "Fetch failed (exit $?)"
|
error "Fetch failed (exit $?)"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue