Worldbuilding Design Lab

Worldbuilding Design Lab ·

Two exported lore files can be compared without creating another repository

Compare two existing text exports with Git diff’s no-index form when the immediate question concerns file differences rather than repository history.

Two collaborators send different text exports of the same setting guide. The immediate task is to see what changed between those files, not to reconstruct a commit history neither export contains. Git diff has a documented form for comparing paths on the filesystem.

Its no-index form takes two paths and compares them directly. The documentation also describes using it outside a Git working tree. That can answer a focused text-comparison question without copying the existing project into a new repository simply to inspect the exports.

Identify the two inputs before reading the difference

Keep each received file's identity and origin clear. Decide which is the earlier or reference version and which is the candidate being reviewed. The order matters to how additions and removals are read, even when the same two files are involved.

Use the documented no-index comparison with those actual paths. Keep filenames and paths with spaces properly quoted for the shell being used. Treat an example's filenames as placeholders, not as instructions to overwrite a file that already exists in the project.

Read the differences in context. A removed paragraph may have been moved elsewhere, and a changed heading may alter what a later sentence appears to describe. The comparison exposes textual changes; it does not decide which version is canon or whether the new wording is better.

Keep repository questions separate. If the team needs an older tracked file's stored content, Git show offers a different inspection route. The exported-file comparison itself does not create missing author history or prove when an untracked edit was made.

Record the two inputs and the decisions arising from review. Any accepted wording should enter the existing project's normal editorial workflow, with the received exports retained as appropriate to that process. Do not silently replace the authoritative note merely because one side of a difference is newer.

Compare document or storage tools through the shop if the workflow requires them. First make the current comparison precise: two identified files, a readable difference and an explicit editorial decision, without mistaking a new repository for information that the exports never contained.

Sources and further reading

This is general information. Check the relevant authority or manufacturer for the rules, compatibility and terms that apply to your situation.

More practical guides