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

[Bug]: Saving db.json in git and working on different branches, resolves in unsolveable merge conflicts. #472

Closed
3 tasks done
LazerLars opened this issue May 13, 2024 · 3 comments

Comments

@LazerLars
Copy link

Describe the bug

I use masscode on muliple computers, so i store my db.json file in git to maintain and presvere the data (maybe this is not ideal :D i dont know :) )
So i have my main on git, then on computer 1 i have branch.x and doing new addtions and on computer 2 i have branch.y doing other adtions and edits. Then i merge the branch.x to main without a issue, and then i want to pull latest changes from main to branch.y / want to merge branch.y to main, then I can't since they can somehow be stored with the same ids/unique identifiers.
If you dont see this is as i bug since i store the db.json in git then please delete the bug report. Even when the above is said, i freaking love your tool :) Nice job. It's so beautiful and im using it 5 days a week.

To reproduce

Described in the bug desc.

Version

3.11.0

OS

Win 11

Validations

@LazerLars
Copy link
Author

Unfortunately i fixed the merge conflict by just hard copying the new added elements and edits to a new branch branched out from main. And i didnt think of before after documention the journey so you had some data to investigate on. I will try to remember that next time :D

@antonreshetov
Copy link
Member

@LazerLars It is unlikely that such a case can be classified as a bug, as there is direct intervention in the database.

@LazerLars
Copy link
Author

Wow that was fast you replied :D Aight man, lemme close this bad boy then 🗡️

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

No branches or pull requests

2 participants