To exclude the /cells/*/metadata/execution/ entries from the output of nbdiff, you need to use the --ignore flag to specify which paths to ignore. The --ignore-details flag only ignores minor details like timestamps in the metadata, but not the entire execution metadata.
Use the following command:
bashnbdiff --ignore "/cells/*/metadata/execution/"
--ignore allows you to specify glob patterns for paths to ignore./cells/*/metadata/execution/ matches all execution metadata under any cell.bashnbdiff --ignore "/cells/*/metadata/execution/" CENSORED.ipynb HEAD
This will suppress all output related to execution metadata, focusing only on meaningful changes in code, markdown, or other cell content.