Working with protected branches #375
Replies: 1 comment
-
|
Protected branches with beads can be tricky. Here's how it should work: Expected behavior: When What should be on the protected branch: git add .beads/metadata.json .beads/config.yaml
git commit -m "chore: add beads config"Common gotcha: If
With Dolt backend (v0.51+): The protected branch concern is mostly eliminated since issue data lives in the Dolt database (gitignored) rather than in git-committed JSONL files. The JSONL backup is generated on export only. If you're still hitting issues, sharing the output of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if I'm doing the right thing when working with protected branches.
I had the configuration set up from the start to use protected branches, but
bdwas continually committing to the current branch. I started from scratch with the latest version and the daemon and it seems to be basically working with thejsonlfile.However the docs indicate that the protected branch will contain
metadata.jsonandconfig.yaml, which doesn't seem to happen for me. Should I commit these files manually to the worktree, or should they be on the main branch?I feel like I've missed something simple here.
Beta Was this translation helpful? Give feedback.
All reactions