--remote and --no-setup cannot be combined. Setup never changes the
destination’s default remote.
How automatic setup chooses a remote
How automatic setup chooses a remote
Gat reuses a destination remote with the same URL template as the source
default remote. Otherwise, it imports that remote under an available name.If the source has no default remote, the mount succeeds without automatic
storage setup. Configure storage with
gat remote and gat route.Routes and remotes are independent configuration. Moving or removing a mount
does not move or remove them.
Usage
All options
All options
Subcommands
gat mount list
gat mount add
gat mount remove
gat mount update
gat mount show
gat mount add
Import a committed source snapshot under a target directory. Storage setup is automatic unless--no-setup is supplied.
Usage
All options
All options
Examples
- No setup
- Local source
- Source filters
Import mount metadata without changing remotes or routes.
gat mount list
List effective mounts and their targets.Usage
All options
All options
Examples
Show every effective mount.gat mount remove
Remove a mount and its imported tracking entries. Use--detach-only to retain the entries under local ownership. Routes and remotes are kept.
Usage
All options
All options
Examples
- Remove
- Detach
Remove the definition and its owned rows.
gat mount show
Show the source, pinned revision, filters, target, owned path count, effective storage route, and defining scope.Usage
All options
All options
Examples
Inspect source, target, ownership, revision, and routing details.gat mount update
Refresh the source snapshot. Omitted settings are preserved; supplied filter lists replace the saved lists.Usage
All options
All options
Examples
- No setup
- Revision
- Filters
Refresh the mount while leaving remotes and routes unchanged.

