Browse documentation
Command reference

gitvaulty status

Show the state of local plaintext copies relative to their encrypted sources.

View source ↗

Show the state of local plaintext copies relative to their encrypted sources.

Usage

npx gitvaulty status [-f <path>...]

Examples:

npx gitvaulty status
npx gitvaulty status -f .env -f config/secrets.yaml

With no --file options, the command checks every encrypted file your current user can access. Repeat -f, --file <path> to select specific logical plaintext paths.

States

StateMeaning
missingNo plaintext file exists.
currentThe plaintext bytes exactly match the decrypted source.
modifiedA regular plaintext file exists with different bytes.
trackedGit tracks the plaintext path, regardless of whether its bytes match.
unsafeThe destination exists but is not a safe regular file, such as a symlink or directory.

Output contains one line per selected file:

current  .env
missing  config/secrets.yaml
modified service-token.txt

The comparison requires decryption, so only authorized files can be selected. The command does not change plaintext, ciphertext, the registry, or Git state.