Skip to content

gc init and gc rig add generate incomplete .gitignore #301

@donbox

Description

@donbox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugBroken behaviorpriority/p2Medium — real problem, workaround existsstatus/acceptedConfirmed and on our radarwastelandTracked by Wasteland sync

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions