Skip to content
Docsgr sync

Command line

gr sync

Bring the graph back in step with the code

From the help of gr 0.2.16. gr help sync prints it in full.

Bring the graph back in step with the code after it changes on disk: a pull, a branch switch, an edit.

gr sync [flags]
FlagWhat it does
--agentsfill the descriptions and modules that are missing (--agents=false for the free structural sync) (default true)
--dry-runreport what changed without touching the graph
--prunedelete the nodes of files that have left the tree instead of marking them

Every command also takes --root <folder>, the project to act on. Without it, gr uses the git repository you are in, or else the current folder.

These docs describe Graphide 0.2.16, the latest release. Something wrong or missing? Tell us onDiscord or at hello@graphide.com.