gat status shows tracking changes not yet staged with Git by comparing the
current gat.lock with the .
Paths remain visible even when their working files are missing.
Local status does not inspect file contents. Run gat add to record edits,
or gat sync --dry-run to preview working-tree reconciliation. Cache presence
does not verify cached bytes.
With --remote, check whether required objects exist. A bare
--remote follows path routing; a named value forces one remote.
See remote routing
for storage precedence. History flags apply only to remote checks. Mount-owned entries show their mount name.Missing cache objects use the short uncached annotation, with recovery guidance
below the rows. Rows and long metadata are limited by default; use gat status --full-output
(or gat status -o) to inspect every row and complete metadata.Without path flags, use the default named selection, or all paths if none is set.
Explicit filters replace that selection; --path . selects the whole repository.
Path selection rules
Selector
Selection used
--selection NAME
One saved definition, without changing the default.
--path, --include, or --exclude
.
Named and inline selectors cannot be combined. Paths are relative to the
repository root; patterns are relative to the selected path.
See Path selection and gat selection.
Usage: gat status [OPTIONS]Options: -o, --full-output Show all rows and complete details --selection <NAME> Use this saved selection for this operation without changing the default --path <PATH> Select this file or subtree. Any explicit --path, --include, or --exclude replaces the complete configured selection. Use --path . for the whole repository. For mount add, omission selects the source root; repository selection defaults never apply to mounts --include <INCLUDE> Glob pattern (matched relative to `--path`) selecting which paths to include. Repeatable. Component-aware: `*.bin` matches only immediate children, while `**/*.bin` matches recursively. Empty means everything under `--path` --exclude <EXCLUDE> Glob pattern (matched relative to `--path`) excluded from `--include` (or from everything under `--path`, if `--include` is empty). Repeatable. Component-aware like `--include`; exclude always wins over include --remote [<REMOTE>] Check remote object presence instead of local status. Bare `--remote` routes each selected path independently -- explicit override, then most-specific route, then repository default -- same as `push`/`fetch`; `--remote <name>` ignores routing and checks every selected path against that one named remote --rev <REV> Explicit revision/rev-spec to select (e.g. a commit, tag, or branch name). Repeatable; each one is resolved strictly and becomes its own root. Alone (with no other history flag), selects only that revision itself -- add `--ancestors`/`--depth`/`--since`/`--until` to also walk its ancestry. Combinable with `--branches`/`--tags`; mutually exclusive with `--all-history` --branches Select every branch tip: local (`refs/heads/**`) and remote-tracking (`refs/remotes/**`), deduplicated by commit id. There is no separate remote-tracking-only flag -- select a specific remote-tracking ref with `--rev origin/main`. Alone, selects only those tip commits themselves, not their ancestry -- combine with `--ancestors` (or `--depth`) to also walk backwards from each tip. A branch that *validly* resolves to a non-commit object is silently skipped rather than erroring; but a branch ref that *fails* to resolve at all (dangling, corrupt, unreadable) makes resolution fail closed with an error instead. Combinable with `--rev`/`--tags`; mutually exclusive with `--all-history` --tags Select every tag, peeled to the commit it points at. Alone, selects only those tagged commits themselves, not their ancestry -- combine with `--ancestors` (or `--depth`) to also walk backwards from each tag. A tag that *validly* resolves to a non-commit object (e.g. a tag pointing at a blob or tree) is silently skipped rather than erroring -- use an explicit `--rev` if you need that case to fail loudly; but a tag ref that *fails* to resolve at all makes resolution fail closed with an error instead. Combinable with `--rev`/`--branches`; mutually exclusive with `--all-history` --all-history Select every commit-bearing ref of any kind (branches, tags, and anything else, e.g. notes/CI refs) as roots, and walk each one's full, unbounded ancestry -- the only scope option that implicitly enables ancestry; every other scope option stays `Tips` unless a traversal flag is also given. A ref that *validly* resolves to a non-commit object (e.g. one pointing at a blob or tree) is silently skipped rather than erroring; but a ref that *fails* to resolve at all (dangling, corrupt, unreadable) makes resolution fail closed with an error instead. Combine with `--depth` to cap the walked depth per root instead of walking unbounded ancestry. Mutually exclusive with `--rev`/`--branches`/`--tags`: it is a distinct, broader root set, not a shorthand for combining them --ancestors Walk each selected root's full, unbounded ancestry (closest ancestors first, not commit-timestamp order) instead of selecting only the roots themselves. With no scope selector given (`--rev`/ `--branches`/`--tags`/`--all-history`), the root defaults to `HEAD` alone. Mutually exclusive with `--depth` (which already implies walking ancestry, bounded) --depth <DEPTH> Limit ancestry traversal from each selected root to at most this many *visited* commits (closest ancestors first, not commit-timestamp order), then union/deduplicate across roots. This bounds how far the walk goes, not how many commits end up in the result: combined with `--since`/`--until`, a commit outside the time window still consumes one unit of the depth budget, so `--depth 5 --since DATE` can return fewer than 5 commits per root (even zero) without walking further than 5 ancestors -- it never means "keep walking until 5 commits match". With no scope selector given (`--rev`/`--branches`/`--tags`/`--all-history`), the root defaults to `HEAD` alone -- `--depth 5` alone visits `HEAD` and its 4 closest ancestors, not 5 commits from every branch/tag. `--branches --depth 5` means up to 5 commits visited from *each* branch tip, not 5 total. `--all-history --depth 5` keeps `--all-history`'s root set (every commit-bearing ref) and only bounds that per-root walk to 5 commits each. Mutually exclusive with `--ancestors` --since <SINCE> Only include commits committed at/after this date. Accepts Git-style/ISO dates (e.g. `2024-01-01`, `2 weeks ago`). Implies walking ancestry from the selected roots to find commits in the time window, even without `--ancestors`/`--depth`; with no scope selector given, the root defaults to `HEAD` alone --until <UNTIL> Only include commits committed at/before this date. Accepts Git-style/ISO dates (e.g. `2024-01-01`, `2 weeks ago`). Implies walking ancestry from the selected roots to find commits in the time window, even without `--ancestors`/`--depth`; with no scope selector given, the root defaults to `HEAD` alone --first-parent Follow only the first parent of each commit instead of every parent (excludes commits only reachable via a merged-in branch). Only meaningful while walking ancestry -- implies walking it, even without `--ancestors`/`--depth`/`--since`/`--until`; with no scope selector given, the root defaults to `HEAD` alone (not every ref) --exclude-rev <EXCLUDE_REV> Exclude this revision and its ancestors from the selection. Repeatable. Only meaningful while walking ancestry -- implies walking it, even without `--ancestors`/`--depth`/`--since`/ `--until`; with no scope selector given, the root defaults to `HEAD` alone (not every ref) -h, --help Print help (see a summary with '-h')
{"docsConfig":{"theme":"linden","$schema":"https://mintlify.com/docs.json","name":"gat","description":"Simple, fast, versioned large-file storage for git.","colors":{"primary":"#0F766E","light":"#CCFBF1","dark":"#115E59"},"logo":{"light":"https://mintcdn.com/getgat/gM8EvlJ90QP0hGoe/images/logo-original.png?fit=max\u0026auto=format\u0026n=gM8EvlJ90QP0hGoe\u0026q=85\u0026s=ef121cff2efb825b0c2aeec0eeda9a29","dark":"https://mintcdn.com/getgat/gM8EvlJ90QP0hGoe/images/logo-white.png?fit=max\u0026auto=format\u0026n=gM8EvlJ90QP0hGoe\u0026q=85\u0026s=e9253dc69dfaa4e880f9fc73a3b2f128"},"favicon":{"light":"https://mintcdn.com/getgat/gM8EvlJ90QP0hGoe/images/favicon-original.png?fit=max\u0026auto=format\u0026n=gM8EvlJ90QP0hGoe\u0026q=85\u0026s=e11d1a30140cf45739579860f2894872","dark":"https://mintcdn.com/getgat/gM8EvlJ90QP0hGoe/images/favicon-white.png?fit=max\u0026auto=format\u0026n=gM8EvlJ90QP0hGoe\u0026q=85\u0026s=83c5e10aa4521f6555d379ac98b4346b"},"navbar":{"links":[{"href":"https://github.com/getgat-dev/gat","label":"GitHub"}]},"seo":{"metatags":{"og:site_name":"Gat"},"organization":{"id":"https://getgat.dev/#organization","name":"Gat","url":"https://getgat.dev","logo":"https://getgat.dev/images/logo-original.png","sameAs":["https://github.com/getgat-dev/gat"]},"indexing":"navigable"},"integrations":{"gtm":{"tagId":"GTM-NV5TV492"}},"variables":{"colors.dark":"#115E59","colors.light":"#CCFBF1","colors.primary":"#0F766E"},"styling":{"latex":false},"background":{"color":{"light":"#f8fbfb","dark":"#0f1012"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"getgat","hasAudioNarration":false,"actualSubdomain":"getgat","customDomains":["getgat.dev"],"gitSource":{"type":"github","owner":"getgat-dev","repo":"gat","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"feedback":{"thumbs":true,"edits":false,"issues":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6af1a5d04fec639ad50e4480","clientVersion":"0.0.4124","searchFilterCounts":[{"language":"default","tag":"Commands","count":18},{"language":"default","tag":"Guides","count":7},{"language":"default","tag":"Concepts","count":5},{"language":"default","tag":"Getting Started","count":3},{"language":"default","tag":"References","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"#content-area{padding-left:0!important;margin:auto!important}body:has(#gat-home) #navbar button.text-left>div:last-child{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}@media (min-width: 1280px){div:has(>#content-area):has(>#content-side-layout){gap:0!important}#content-area{max-width:750px!important;min-width:0}}@media (min-width: 1280px) and (max-width: 1439px){#content-side-layout{display:none!important}#content-area{padding-left:0!important}}"}],"page":{"pagePath":"commands/status","slug":"/commands/status","pageMetadata":{"title":"gat status","description":"Check file status locally or on remote storage.","href":"/commands/status"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Check file status locally or on remote storage.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,Note,Tab,Table,Tabs,Tooltip}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Tooltip)_missingMdxReference(`Tooltip`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`gat status`}),` shows tracking changes not yet staged with Git by comparing the\ncurrent `,_jsx(_components.code,{children:`gat.lock`}),` with the `,_jsx(Tooltip,{tip:`The gat.lock version in Git’s index, prepared by git add for the next commit. This can differ from both the working lock and the last committed lock.`,cta:`Review and publish changes`,href:`/guides/branching-and-merging#typical-workflows`,children:`staged lock`}),`.\nPaths remain visible even when their working files are missing.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Local status does not inspect file contents. Run `,_jsx(_components.a,{href:`/commands/add`,children:`gat add`}),` to record edits,\nor `,_jsx(_components.code,{children:`gat sync --dry-run`}),` to preview working-tree reconciliation. Cache presence\ndoes not verify cached bytes.`]})}),`\n`,_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`--remote`}),`, check whether required objects exist. A bare\n`,_jsx(_components.code,{children:`--remote`}),` follows path routing; a named value forces one remote.\nSee `,_jsx(_components.a,{href:`/guides/using-multiple-remotes#remote-selection-at-a-glance`,children:`remote routing`}),`\nfor storage precedence. `,_jsx(_components.a,{href:`/concepts/history-selection`,children:`History flags`}),` apply only to remote checks. Mount-owned entries show their mount name.`]}),`\n`,_jsxs(_components.p,{children:[`Missing cache objects use the short `,_jsx(_components.code,{children:`uncached`}),` annotation, with recovery guidance\nbelow the rows. Rows and long metadata are limited by default; use `,_jsx(_components.code,{children:`gat status --full-output`}),`\n(or `,_jsx(_components.code,{children:`gat status -o`}),`) to inspect every row and complete metadata.`]}),`\n`,_jsxs(_components.p,{children:[`Without path flags, use the default named selection, or all paths if none is set.\nExplicit filters replace that selection; `,_jsx(_components.code,{children:`--path .`}),` selects the whole repository.`]}),`\n`,_jsxs(Accordion,{title:`Path selection rules`,id:`path-selection-rules`,children:[_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Selector`}),_jsx(_components.th,{children:`Selection used`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`--selection NAME`})}),_jsx(_components.td,{children:`One saved definition, without changing the default.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.code,{children:`--path`}),`, `,_jsx(_components.code,{children:`--include`}),`, or `,_jsx(_components.code,{children:`--exclude`})]}),_jsxs(_components.td,{\"data-numeric\":`true`,children:[_jsx(Tooltip,{tip:`Path, include, and exclude flags supplied directly to this command. These replace the saved selection as a whole, so repeat any exclusions you still need.`,cta:`Selection precedence`,href:`/concepts/path-selection`,children:`A complete inline selection`}),`.`]})]})]})]}),_jsxs(_components.p,{children:[`Named and inline selectors cannot be combined. Paths are relative to the\nrepository root; patterns are relative to the selected path.\nSee `,_jsx(_components.a,{href:`/concepts/path-selection`,children:`Path selection`}),` and `,_jsx(_components.a,{href:`/commands/selection`,children:`gat selection`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`usage`,children:`Usage`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Usage: gat status [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(Accordion,{title:`All options`,id:`gat-status-options`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`138`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`138`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Usage: gat status [OPTIONS]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Options:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -o, --full-output`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Show all rows and complete details`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --selection \u003cNAME>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Use this saved selection for this operation without changing the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` default`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --path \u003cPATH>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Select this file or subtree. Any explicit --path, --include, or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --exclude replaces the complete configured selection. Use --path . for`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` the whole repository. For mount add, omission selects the source root;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` repository selection defaults never apply to mounts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --include \u003cINCLUDE>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Glob pattern (matched relative to `--path`) selecting which paths to\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" include. Repeatable. Component-aware: `*.bin` matches only immediate\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" children, while `**/*.bin` matches recursively. Empty means everything\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" under `--path`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --exclude \u003cEXCLUDE>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Glob pattern (matched relative to `--path`) excluded from `--include`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" (or from everything under `--path`, if `--include` is empty).\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Repeatable. Component-aware like `--include`; exclude always wins over\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` include`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --remote [\u003cREMOTE>]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Check remote object presence instead of local status. Bare `--remote`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` routes each selected path independently -- explicit override, then`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` most-specific route, then repository default -- same as`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `push`/`fetch`; `--remote \u003cname>` ignores routing and checks every\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` selected path against that one named remote`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --rev \u003cREV>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Explicit revision/rev-spec to select (e.g. a commit, tag, or branch`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` name). Repeatable; each one is resolved strictly and becomes its own`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` root. Alone (with no other history flag), selects only that revision`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" itself -- add `--ancestors`/`--depth`/`--since`/`--until` to also walk\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" its ancestry. Combinable with `--branches`/`--tags`; mutually\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" exclusive with `--all-history`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --branches`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Select every branch tip: local (`refs/heads/**`) and remote-tracking\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" (`refs/remotes/**`), deduplicated by commit id. There is no separate\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` remote-tracking-only flag -- select a specific remote-tracking ref`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" with `--rev origin/main`. Alone, selects only those tip commits\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" themselves, not their ancestry -- combine with `--ancestors` (or\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `--depth`) to also walk backwards from each tip. A branch that\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` *validly* resolves to a non-commit object is silently skipped rather`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` than erroring; but a branch ref that *fails* to resolve at all`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` (dangling, corrupt, unreadable) makes resolution fail closed with an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" error instead. Combinable with `--rev`/`--tags`; mutually exclusive\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" with `--all-history`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --tags`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Select every tag, peeled to the commit it points at. Alone, selects`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` only those tagged commits themselves, not their ancestry -- combine`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" with `--ancestors` (or `--depth`) to also walk backwards from each\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tag. A tag that *validly* resolves to a non-commit object (e.g. a tag`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` pointing at a blob or tree) is silently skipped rather than erroring`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" -- use an explicit `--rev` if you need that case to fail loudly; but a\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tag ref that *fails* to resolve at all makes resolution fail closed`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" with an error instead. Combinable with `--rev`/`--branches`; mutually\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" exclusive with `--all-history`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --all-history`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Select every commit-bearing ref of any kind (branches, tags, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` anything else, e.g. notes/CI refs) as roots, and walk each one's full,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` unbounded ancestry -- the only scope option that implicitly enables`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" ancestry; every other scope option stays `Tips` unless a traversal\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` flag is also given. A ref that *validly* resolves to a non-commit`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` object (e.g. one pointing at a blob or tree) is silently skipped`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` rather than erroring; but a ref that *fails* to resolve at all`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` (dangling, corrupt, unreadable) makes resolution fail closed with an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" error instead. Combine with `--depth` to cap the walked depth per root\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` instead of walking unbounded ancestry. Mutually exclusive with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `--rev`/`--branches`/`--tags`: it is a distinct, broader root set, not\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` a shorthand for combining them`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --ancestors`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Walk each selected root's full, unbounded ancestry (closest ancestors`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` first, not commit-timestamp order) instead of selecting only the roots`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" themselves. With no scope selector given (`--rev`/\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `--branches`/`--tags`/`--all-history`), the root defaults to `HEAD`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" alone. Mutually exclusive with `--depth` (which already implies\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` walking ancestry, bounded)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --depth \u003cDEPTH>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Limit ancestry traversal from each selected root to at most this many`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` *visited* commits (closest ancestors first, not commit-timestamp`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` order), then union/deduplicate across roots. This bounds how far the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` walk goes, not how many commits end up in the result: combined with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `--since`/`--until`, a commit outside the time window still consumes\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" one unit of the depth budget, so `--depth 5 --since DATE` can return\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` fewer than 5 commits per root (even zero) without walking further than`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` 5 ancestors -- it never means \"keep walking until 5 commits match\".`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` With no scope selector given`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" (`--rev`/`--branches`/`--tags`/`--all-history`), the root defaults to\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `HEAD` alone -- `--depth 5` alone visits `HEAD` and its 4 closest\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" ancestors, not 5 commits from every branch/tag. `--branches --depth 5`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` means up to 5 commits visited from *each* branch tip, not 5 total.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `--all-history --depth 5` keeps `--all-history`'s root set (every\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` commit-bearing ref) and only bounds that per-root walk to 5 commits`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" each. Mutually exclusive with `--ancestors`\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --since \u003cSINCE>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Only include commits committed at/after this date. Accepts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Git-style/ISO dates (e.g. `2024-01-01`, `2 weeks ago`). Implies\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` walking ancestry from the selected roots to find commits in the time`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" window, even without `--ancestors`/`--depth`; with no scope selector\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" given, the root defaults to `HEAD` alone\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --until \u003cUNTIL>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Only include commits committed at/before this date. Accepts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" Git-style/ISO dates (e.g. `2024-01-01`, `2 weeks ago`). Implies\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` walking ancestry from the selected roots to find commits in the time`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" window, even without `--ancestors`/`--depth`; with no scope selector\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" given, the root defaults to `HEAD` alone\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --first-parent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Follow only the first parent of each commit instead of every parent`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` (excludes commits only reachable via a merged-in branch). Only`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` meaningful while walking ancestry -- implies walking it, even without`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" `--ancestors`/`--depth`/`--since`/`--until`; with no scope selector\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" given, the root defaults to `HEAD` alone (not every ref)\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` --exclude-rev \u003cEXCLUDE_REV>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Exclude this revision and its ancestors from the selection.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Repeatable. Only meaningful while walking ancestry -- implies walking`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" it, even without `--ancestors`/`--depth`/`--since`/ `--until`; with no\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:\" scope selector given, the root defaults to `HEAD` alone (not every\"})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ref)`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` -h, --help`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Print help (see a summary with '-h')`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`examples`,children:`Examples`}),`\n`,_jsxs(Tabs,{sync:false,children:[_jsxs(Tab,{title:`Complete output`,id:`complete-output`,children:[_jsx(_components.p,{children:`Show every row with complete paths and metadata.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -o`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`Local`,id:`local`,children:[_jsx(_components.p,{children:`Compare tracked files with staged desired state.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`Directory`,id:`directory`,children:[_jsx(_components.p,{children:`Inspect one tracked subtree.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --path`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` data/`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`Glob pattern`,id:`glob-pattern`,children:[_jsx(_components.p,{children:`Inspect matching tracked paths.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --include`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '**/*.bin'`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`Remote`,id:`remote`,children:[_jsx(_components.p,{children:`Verify each path on its resolved remote.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --remote`})]}),`\n`]})})})]}),_jsxs(Tab,{title:`History`,id:`history`,children:[_jsx(_components.p,{children:`Verify one historical revision on a named remote.`}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`gat`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` status`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --remote`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` backup`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rev`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` HEAD~5`})]}),`\n`]})})})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"gat status","description":"Check file status locally or on remote storage.","href":"/commands/status"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Usage","slug":"usage","depth":2,"children":[]},{"title":"Examples","slug":"examples","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"getgat","siteName":"gat","title":"gat status - gat","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-11T14:57:32.829Z","originalFileLocation":"commands/status.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Check file status locally or on remote storage.\">\u003cmeta data-mint-head name=\"application-name\" content=\"gat\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"gat status - gat\">\u003cmeta data-mint-head property=\"og:description\" content=\"Check file status locally or on remote storage.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Gat\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://getgat.dev/commands/status\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://getgat.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=gat+status\u0026amp;description=Check+file+status+locally+or+on+remote+storage.\u0026amp;theme=30e390fcb3db426888266f7e\u0026amp;signature=3873f5ad67e474ca4624ce93af0d9b5d56911dc3a230867b33c588104828b5c1\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"gat status - gat\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Check file status locally or on remote storage.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://getgat.mintlify.site/_mintlify/api/og/v2?division=Commands\u0026amp;title=gat+status\u0026amp;description=Check+file+status+locally+or+on+remote+storage.\u0026amp;theme=30e390fcb3db426888266f7e\u0026amp;signature=3873f5ad67e474ca4624ce93af0d9b5d56911dc3a230867b33c588104828b5c1\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/getgat/6KFEIX49Ob2p-OYd/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"gat\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0F766E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://getgat.dev/commands/status\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/commands/status.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://getgat.dev/#organization\",\"name\":\"Gat\",\"url\":\"https://getgat.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://getgat.dev/images/logo-original.png\"},\"sameAs\":[\"https://github.com/getgat-dev/gat\"]},{\"@type\":\"WebSite\",\"@id\":\"https://getgat.dev#website\",\"name\":\"gat\",\"url\":\"https://getgat.dev\",\"publisher\":{\"@id\":\"https://getgat.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://getgat.dev/commands/status#webpage\",\"url\":\"https://getgat.dev/commands/status\",\"name\":\"gat status\",\"description\":\"Check file status locally or on remote storage.\",\"dateModified\":\"2026-09-11T14:57:32.829Z\",\"isPartOf\":{\"@id\":\"https://getgat.dev#website\"},\"breadcrumb\":{\"@id\":\"https://getgat.dev/commands/status#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://getgat.dev/commands/status#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Commands\",\"item\":\"https://getgat.dev/commands/add\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"gat status\",\"item\":\"https://getgat.dev/commands/status\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://getgat.dev/commands/status#article\",\"headline\":\"gat status\",\"name\":\"gat status\",\"description\":\"Check file status locally or on remote storage.\",\"url\":\"https://getgat.dev/commands/status\",\"mainEntityOfPage\":{\"@id\":\"https://getgat.dev/commands/status#webpage\"},\"dateModified\":\"2026-09-11T14:57:32.829Z\",\"publisher\":{\"@id\":\"https://getgat.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://getgat.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"gat\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Gat\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/commands/status.md","siteName":"gat","nav":{"global":null,"groups":[{"group":"Getting Started","pages":[{"title":"Installation","href":"/installation"},{"title":"Quickstart","href":"/quickstart"},{"title":"Set up a remote","href":"/set-up-a-remote"}]},{"group":"Concepts","icon":"file-text","pages":[{"title":"How Gat works","href":"/concepts/how-gat-works"},{"title":"Automatic sync","href":"/concepts/automatic-sync"},{"title":"Path selection","href":"/concepts/path-selection"},{"title":"History selection","href":"/concepts/history-selection"},{"title":"Config inheritance","href":"/concepts/config-inheritance"}]},{"group":"Guides","icon":"graduation-cap","pages":[{"title":"Use Gat MCP in tools","href":"/guides/use-gat-mcp"},{"title":"Branching and merging","href":"/guides/branching-and-merging"},{"title":"Consuming Gat assets","href":"/guides/consuming-gat-assets"},{"title":"Using multiple remotes","href":"/guides/using-multiple-remotes"},{"title":"Improving performance","href":"/guides/improving-performance"},{"title":"Migrating from Git LFS","href":"/guides/migrating-from-git-lfs"},{"title":"Migrating from DVC","href":"/guides/migrating-from-dvc"}]},{"group":"References","icon":"book-open","pages":[{"title":"Configuration","href":"/references/configuration"},{"title":"Remote providers","href":"/references/remote-providers"},{"title":"Feature lifecycle","href":"/references/feature-lifecycle"}]},{"group":"Commands","icon":"square-terminal","pages":[{"title":"gat add","href":"/commands/add"},{"title":"gat config","href":"/commands/config"},{"title":"gat diff","href":"/commands/diff"},{"title":"gat fetch","href":"/commands/fetch"},{"title":"gat gc","tag":"Experimental","href":"/commands/gc"},{"title":"gat init","href":"/commands/init"},{"title":"gat ls-files","href":"/commands/ls-files"},{"title":"gat mount","tag":"Experimental","href":"/commands/mount"},{"title":"gat mv","href":"/commands/mv"},{"title":"gat pull","href":"/commands/pull"},{"title":"gat push","href":"/commands/push"},{"title":"gat remote","href":"/commands/remote"},{"title":"gat rm","href":"/commands/rm"},{"title":"gat route","tag":"Experimental","href":"/commands/route"},{"title":"gat selection","description":"Manage named path selections and the default selection.","tag":"Experimental","href":"/commands/selection"},{"title":"gat status","href":"/commands/status"},{"title":"gat sync","description":"Reconcile the working tree and materialize files.","href":"/commands/sync"},{"title":"gat system","tag":"Experimental","href":"/commands/system"}]}]},"basePath":"","title":"gat status - gat","buildId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","deploymentId":"dpl_8hoxaqFTU7hTr6A2fUraxAyjuiZo","dynamics":[],"chunks":[]}