mirror of
https://cgit.krebsco.de/krops
synced 2024-11-30 06:59:46 +01:00
populate git: reset --hard
This commit is contained in:
parent
170c46d53c
commit
ce37b2a9c2
1 changed files with 1 additions and 2 deletions
|
@ -40,8 +40,7 @@ let
|
||||||
if ! git log -1 "$hash" >/dev/null 2>&1; then
|
if ! git log -1 "$hash" >/dev/null 2>&1; then
|
||||||
git fetch origin
|
git fetch origin
|
||||||
fi
|
fi
|
||||||
git checkout "$hash" -- ${quote target.path}
|
git reset --hard "$hash" >&2
|
||||||
git -c advice.detachedHead=false checkout -f "$hash"
|
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue