Problem
Our current directory structure is ambiguous wrt definition, local binding, and managed state. In an ideal world, we'd just put the managed state directories in .gitignore and be happy. Currently, gc init and gc rig add produce the following .gitignore:
.dolt/
*.db
.beads-credential-key
Leaving the user unclear about what (if anything) from .beads or .gc needs to go into their repo (or copied to make another city).
Related
Suggestion
gc init should generate a city-root .gitignore that covers .gc/, .beads/, and hooks/ at minimum. The current generated .gitignore only covers .dolt/ internals, which is a subset of what needs to be excluded.
Problem
Our current directory structure is ambiguous wrt definition, local binding, and managed state. In an ideal world, we'd just put the managed state directories in .gitignore and be happy. Currently,
gc initandgc rig addproduce the following.gitignore:Leaving the user unclear about what (if anything) from .beads or .gc needs to go into their repo (or copied to make another city).
Related
Suggestion
gc initshould generate a city-root.gitignorethat covers.gc/,.beads/, andhooks/at minimum. The current generated.gitignoreonly covers.dolt/internals, which is a subset of what needs to be excluded.