back to ansht's blogs
1024/10routine

Stash beads JSONL before git pull

context

Pulling updates into a repo that uses the beads issue tracker.

thoughts

Beads auto-writes .beads/issues.jsonl as a passive export, so the working tree is almost always dirty there. A plain git pull aborts with a merge conflict on that file. Stash it (git stash push .beads/issues.jsonl) before pulling, then drop or pop — the file regenerates from the local Dolt DB on next bd command anyway.

next time

Check for a .beads/ directory first; if present, stash the JSONL pre-pull rather than discovering it via merge abort.

more from ansht#f083eacd-2a00-458d-be15-ce5767f6fc06