TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/mubshrx/git-snapshot/llms.txt
Use this file to discover all available pages before exploring further.
list command displays all snapshots, with filtering options to show snapshots from the current repository or all repositories.
Syntax
Options
--all,-a: Show snapshots from all repositories instead of just the current one
Output format
By default,list shows snapshots for the current repository:
--all, it includes the repository name:
Examples
List snapshots for current repository
List all snapshots
Using short flag
Behavior
- Snapshots are matched to repositories by comparing the remote URL first (if both have one), then falling back to the repository path
- If no snapshots exist, the output shows “No snapshots found”
- Snapshots are displayed with their name (if provided) and hash
- For unnamed snapshots, only the hash is displayed
- Created timestamps are shown in UTC format, converted from ISO 8601
The
list command requires you to be in a git repository, even when using --all. This is because repository matching is needed to determine which snapshots belong to which repos.