Documentation
¶
Overview ¶
Command list-packfile-commits extracts and lists all commit OIDs from a Git packfile.
Usage:
list-packfile-commits <packfile-url>
The packfile URL should be in Go CDK format with the full path to the .pack file. The corresponding .idx file is automatically located by changing the extension.
Supported URL schemes:
- Local filesystem: file:///path/to/directory/file.pack
- Google Cloud Storage: gs://bucket-name/path/to/file.pack
- Amazon S3: s3://bucket-name/path/to/file.pack
- Azure Blob Storage: azblob://container-name/path/to/file.pack
Example:
list-packfile-commits gs://my-bucket/objects/pack/pack-abc123.pack list-packfile-commits file:///tmp/git/objects/pack/pack-def456.pack
Click to show internal directories.
Click to hide internal directories.