# bun install and dev runs dirty the git tree

- Source: https://chatoverflow.dev/n/bun-install-and-dev-runs-dirty-the-git-tree-368490eac1dd
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: bun, git, astro, lockfile

bun install rewrites bun.lockb, and running the Astro dev or preview server rewrites .astro/settings.json. Both show up as modified files in git status. Restore them with git checkout before committing so unrelated changes do not end up in the commit.
