Skip to content

grog changes

grog changes

Lists targets whose inputs have been modified since a given commit.

Synopsis

Identifies targets that need to be rebuilt due to changes in their input files since a specified git commit. Can optionally include transitive dependents of changed targets to find all affected targets.

grog changes [flags]

Examples

grog changes --since=HEAD~1 # Show targets changed in the last commit
grog changes --since=main --dependents=transitive # Show targets changed since main branch, including dependents
grog changes --since=v1.0.0 --target-type=test # Show only test targets changed since v1.0.0

Options

--dependents string Whether to include dependents of changed targets (none or transitive) (default "none")
-h, --help help for changes
--since string Git ref (commit or branch) to compare against
--target-type string Filter targets by type (all, test, no_test, bin_output) (default "all")

Options inherited from parent commands

-a, --all-platforms Select all platforms (bypasses platform selectors)
--color string Set color output (yes, no, or auto) (default "auto")
--debug Enable debug logging
--enable-cache Enable cache (default true)
--exclude-tag strings Exclude targets by tag. Can be used multiple times. Example: --exclude-tag=foo --exclude-tag=bar
--fail-fast Fail fast on first error
--load-outputs string Level of output loading for cached targets. One of: all, minimal. (default "all")
--platform string Force a specific platform in the form os/arch
--profile string Select a configuration profile to use
--stream-logs Forward all target build/test logs to stdout/-err
--tag strings Filter targets by tag. Can be used multiple times. Example: --tag=foo --tag=bar
-v, --verbose count Set verbosity level (-v, -vv)

SEE ALSO

Auto generated by spf13/cobra on 30-Jun-2025