Skip to content

devsync status

Preview what push and pull would change without writing anything.

Terminal window
devsync status

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 push write? — local files that differ from their repository counterparts.
  • What would pull restore? — 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.

FlagDescription
--profile NAMEOverride the active profile for this run. Does not persist.
--verboseShow per-entry and per-file detail in the output.
Terminal window
# Check sync state using the active profile
devsync status
# Check sync state for a specific profile without switching to it
devsync status --profile work
# Verbose output — shows individual file diffs
devsync status --verbose

The output is grouped into two sections:

→ Would push (local → repo):
~ .gitconfig
+ .zshrc
← Would pull (repo → local):
~ .config/nvim/init.lua
SymbolMeaning
+File exists locally (or in repo) but has no counterpart on the other side
~File exists on both sides but content differs