devsync status
Preview what push and pull would change without writing anything.
Synopsis
Section titled “Synopsis”devsync statusDescription
Section titled “Description”devsync status compares your tracked local files with the artifacts currently stored in the sync repository (~/.config/devsync/sync/) and reports the differences — without making any changes.
It answers two questions at once:
- What would
pushwrite? — local files that differ from their repository counterparts. - What would
pullrestore? — repository artifacts that differ from local files.
This gives you a full picture of the sync state before committing to either direction.
status always exits with code 0, even when changes are detected. Use it freely in scripts or as a pre-commit check without worrying about it failing your pipeline.
Options
Section titled “Options”| Flag | Description |
|---|---|
--profile NAME | Override the active profile for this run. Does not persist. |
--verbose | Show per-entry and per-file detail in the output. |
Examples
Section titled “Examples”# Check sync state using the active profiledevsync status
# Check sync state for a specific profile without switching to itdevsync status --profile work
# Verbose output — shows individual file diffsdevsync status --verboseOutput
Section titled “Output”The output is grouped into two sections:
→ Would push (local → repo): ~ .gitconfig + .zshrc
← Would pull (repo → local): ~ .config/nvim/init.lua| Symbol | Meaning |
|---|---|
+ | File exists locally (or in repo) but has no counterpart on the other side |
~ | File exists on both sides but content differs |