#!/usr/bin/env bash mode=$1 if [ "$mode" == "invidious" ]; then cd build git checkout . git restore . git reset git clean -fd git pull --recurse-submodules fi if [ "$mode" == "companion" ]; then cd companion git checkout . git restore . git reset git clean -fd git pull fi