git-unpack
1.0.3
dotnet tool install --global git-unpack --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local git-unpack --version 1.0.3
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=git-unpack&version=1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package git-unpack --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
git-unpack
CLI tool to unpack Git pack files to loose objects.
Installation
dotnet tool install -g git-unpack
Usage
# Unpack in current repository
git-unpack
# Unpack a specific repository
git-unpack /path/to/repo
# Unpack and delete pack files
git-unpack -d
# Verbose output
git-unpack -v
Options
| Option | Description |
|---|---|
-d, --delete |
Delete pack files and packed-refs after unpacking |
-v, --verbose |
Show each object/ref as it's unpacked |
-h, --help |
Show help message |
What does it do?
Git stores objects in two formats:
- Loose objects: Individual files in
.git/objects/ - Pack files: Compressed bundles in
.git/objects/pack/
Git also stores refs in two formats:
- Loose refs: Individual files in
.git/refs/ - Packed refs: A single
.git/packed-refsfile
This tool converts pack files back to loose objects and packed refs back to individual ref files. Useful for debugging, recovery, or understanding Git internals.
Requirements
- .NET 9.0 or later
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.