Skip to content

Commit bbc6dbd

Browse files
Handle force pushes
1 parent cdac877 commit bbc6dbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

collector/collect.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export PATH="/home/collector/.cargo/bin:$PATH"
1212
while : ; do
1313
# Update and rebuild the collector.
1414
git pull
15+
git reset --hard @{upstream}
1516
cargo +nightly build --release -p collector
1617

1718
touch todo-artifacts

0 commit comments

Comments
 (0)