aboutsummaryrefslogtreecommitdiff
path: root/scripts/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/upgrade')
-rw-r--r--scripts/upgrade2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade
index 8e33ce8..50904f1 100644
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -43,7 +43,7 @@ sudo chown -R $app: $final_path/live
# Download Mastodon
sudo su - $app <<PULLCOMMANDS
pushd ~/live
-git fetch
+git fetch -t
git reset --hard origin/master
git pull https://github.com/tootsuite/mastodon.git master
PULLCOMMANDS