Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What to do with the .bbinfo file? #25

Open
vbrozik opened this issue May 30, 2023 · 1 comment
Open

What to do with the .bbinfo file? #25

vbrozik opened this issue May 30, 2023 · 1 comment

Comments

@vbrozik
Copy link

vbrozik commented May 30, 2023

When a backup branch is created a .bbinfo JSON file is created in the root of the repository directory.

Should this be committed to the main branch of the repository or should this be in .gitignore? How does the extension behave if the file is missing? How should we approach the file?

@maxyu1115
Copy link
Owner

So right now this depends on your use case, where if you're working with multiple devices, it's probably better for you to commit it by checking the git-backup-sync.shouldCommitBranchInfoFile setting, but if you only intend to work on one device adding it to .gitignore is probably the best.

Sorry it's generally a confusing artifact, I was thinking of getting rid of the bbinfo file completely recently. Or at least not using it by default. (It was to support custom backup branch names, but it went down a rabbit hole and caused more problems than it fixed lol)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants