graphify icon indicating copy to clipboard operation
graphify copied to clipboard

Conflicts everywhere most of the time

Open itsfatodono opened this issue 4 months ago • 1 comments

Whenever work pararlel with worktree or branchs, only graphify files conflicts. thats annoing. Is the only solition is update every time?

itsfatodono avatar Jul 03 '26 07:07 itsfatodono

This is expected for a committed graphify-out/: graph.json and GRAPH_REPORT.md are regenerated on every build/update, so parallel branches or worktrees each produce a different (non-deterministic, LLM-labeled) graph and those files conflict on merge.

The clean fix is to not track the generated output. Add to .gitignore:

graphify-out/

Each branch/worktree then keeps its own local graph and rebuilds on demand — nothing to conflict. If you want the graph committed (e.g. to share it), commit it only on one branch and treat it like any other build artifact (regenerate + commit deliberately, don't merge it across branches).

If you're on Claude Code, note graphify also queries the graph via the CLI/MCP rather than reading graph.json into context, so gitignoring it costs you nothing at query time. I'll take this as a signal to make the installer/docs recommend gitignoring graphify-out/ more prominently.

safishamsi avatar Jul 03 '26 09:07 safishamsi