What changed

2 snippets across 2 stacks — Docker, Git

DKDocker

See Filesystem Changes

DK · Debugging
syntax
docker diff <container>
example
docker diff web-api
output
C /app
A /app/logs/error.log
A /tmp/cache-abc123
D /app/config.bak

Note Shows which files were Added (A), Changed (C), or Deleted (D) compared to the image. Handy for understanding what the running process has modified on disk.

GitGit

Check Repository Status

Git · Basic Workflow
syntax
git status [-s]
example
git status
git status -s
output
On branch main
Changes not staged for commit:
  modified:   app.js
Untracked files:
  utils.js

# Short format:
 M app.js
?? utils.js

Note The short flag (-s) gives a compact two-column output: left column = staging area, right column = working tree. M = modified, A = added, ? = untracked, D = deleted.