0
I’m working with someone else on a Django project and she owns the main repository. I have a Fork from this repository and want to update it with the original.
I created the upstream: git remote add upstream <endereço-do-repositorio.git>
Afterward: git fetch upstream
Until then it went well, but in time to merge (git merge upstream/maste
r) submitted the error:
warning: Cannot merge binary files: db.sqlite3 (HEAD vs. upstream/master)
Unlink of file 'db.sqlite3' failed. Should I try again? (y/n) n
error: failed to create path 'db.sqlite3': perhaps a D/F conflict?
Auto-merging db.sqlite3
CONFLICT (content): Merge conflict in db.sqlite3
Automatic merge failed; fix conflicts and then commit the result.
I understood that the problem is the divergences of my bank with the other person, but how can we solve to be able to work as a team without causing interference in the main project? Thank you.
The database needs to be versioned with Git?
– Woss
You have to add the extension . sqlite3 the gitignore file, you should not upload database to git
– marcos paulo silva viana