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
                    
if you are setting up this repo
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
                    
nuke :add-package git-unpack --version 1.0.3
                    

git-unpack

CLI tool to unpack Git pack files to loose objects.

NuGet License: MIT

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-refs file

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

License

MIT

Product 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.

Version Downloads Last Updated
1.0.3 121 4/25/2026
1.0.2 113 4/25/2026