diff options
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index 28c3e3c..672900f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -40,7 +40,8 @@ sudo systemctl stop mastodon-*.service # Download Mastodon sudo su - $app <<PULLCOMMANDS pushd ~/live -# git fetch +git fetch +git reset --hard origin/master git pull https://github.com/tootsuite/mastodon.git master PULLCOMMANDS |
