feat: print new commit messages after pulling updates

This commit is contained in:
2026-08-01 16:58:18 -04:00
parent a4496ff363
commit 06cca1d49a
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -30,7 +30,10 @@ dotstate_update() {
fi
info "Repository out of date. Pulling updates..."
local old_sha
old_sha=$(git rev-parse HEAD)
git fetch origin &>/dev/null && git reset --hard origin/master &>/dev/null && git clean -fd &>/dev/null
printf "\033[1;34m%s\033[0m\n" "$(git log --oneline "$old_sha"..HEAD)"
cd ~
dotstate activate
exec zsh