Skip to content

Git Status per Project

MultiDocker can report the git state of a project’s working tree, so you can see at a glance whether it is clean, on which branch, and how far it has drifted from its upstream.

mdocker git info
mdocker git info aurora
mdocker --json git info aurora # machine-readable (the app card uses this)

The report includes:

  • current branch (or detached-HEAD state);
  • dirty counts — staged, unstaged and untracked;
  • ahead / behind vs. the upstream branch;
  • the last commit;
  • the remote URL;
  • stash count and worktrees.

If the project path is not a git repository, the command returns cleanly (with is_repo: false in --json mode) and exits 0. A path inside a repository resolves to the repository’s top level.

The app shows this as a dedicated Git card in the project detail view, built from the --json output. The card hides itself automatically when the project path is not a git repository. See Project List & Detail Cards.