Git 103 - Merge conflicts
- 1 Minute to read
- Print
- DarkLight
- PDF
Git 103 - Merge conflicts
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Git 103: Merge conflicts
Merge conflicts happen when two different people make changes to files on either the same branch, or different branches. When they go to merge, there will be a merge conflict.
Avoiding merge conflicts
The best way to deal with merge conflicts is by prevention.
- Set up branch protection on main
- Separate schematics into multiple files
- Communicate when working on single files like the PCB
- Use LFS to lock files
Fixing merge conflicts
Although we're building a merge engine, for now, the best way to fix a merge conflict is to view the file changes in AllSpice and manually copy the changes to the new file.
Was this article helpful?