We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0881ae4 commit 5142330Copy full SHA for 5142330
1 file changed
install.sh
@@ -57,7 +57,8 @@ fi
57
# Download / Update
58
if [[ -d "$INSTALL_DIR/.git" ]]; then
59
info "Updating macrift..."
60
- git -C "$INSTALL_DIR" pull --rebase --autostash --quiet
+ git -C "$INSTALL_DIR" fetch --quiet
61
+ git -C "$INSTALL_DIR" reset --hard origin/main --quiet
62
ok "Updated"
63
elif command -v git &>/dev/null; then
64
[[ -d "$INSTALL_DIR" ]] && rm -rf "$INSTALL_DIR"
0 commit comments