krebs.build.populate fetch_git: checkout with force
This commit is contained in:
parent
2ff36bad03
commit
1226a20038
@ -116,7 +116,7 @@ let
|
||||
if ! test "$(git log --format=%H -1)" = "$hash"; then
|
||||
git fetch origin
|
||||
git checkout "$hash" -- "$dst_dir"
|
||||
git checkout "$hash"
|
||||
git checkout -f "$hash"
|
||||
fi
|
||||
|
||||
git clean -dxf
|
||||
|
Loading…
Reference in New Issue
Block a user