fix: hard reset to remote on update to ensure exact match

This commit is contained in:
2026-08-01 16:44:46 -04:00
parent 4a35d31483
commit 635705288f
+1 -1
View File
@@ -27,7 +27,7 @@ dotstate_update() {
[[ "$remote_sha" == "$local_sha" ]] && return 0
info "Repository out of date. Pulling updates..."
git pull &>/dev/null
git fetch origin && git reset --hard origin/master && git clean -fd &>/dev/null
dotstate activate
exec zsh
}