Skip to content

Commit 1786f16

Browse files
authored
Make the deploy script overwrite any uncomitted changes on pull (#534)
1 parent 378d570 commit 1786f16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
22
cd labs
3-
git pull origin main
4-
sudo systemctl restart toolshed@*
3+
git fetch origin main
4+
git reset --hard origin/main
5+
sudo systemctl restart toolshed@*

0 commit comments

Comments
 (0)