Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用 git 来维护我所有的 kicad 项目。每当我想进行设计更改时,我只需创建一个新的 git 分支并开始进行更改,然后将其与主分支合并。
我面临的问题是,当合并发生时,.kicad_pcb 文件和 bak 文件都以无法打开的方式更改。
错误消息显示“丢失(在 .kicad_pcb 文件中的第 8 行”。
我有两个问题,
人们使用 git 来维护 kicad 项目吗?如何在当前 kicad 项目上使用 git 在本地合并分支而不损坏主文件?
这是由自动合并算法引起的。
您应该使用git merge --no-commit, 查看(接受/拒绝)更改,然后通过git commit(此处无需评论)提交它们。
git merge --no-commit
git commit