aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index ab4bf58..672900f 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -41,6 +41,7 @@ sudo systemctl stop mastodon-*.service
sudo su - $app <<PULLCOMMANDS
pushd ~/live
git fetch
+git reset --hard origin/master
git pull https://github.com/tootsuite/mastodon.git master
PULLCOMMANDS