English ▾
Localized versions of git-unpack-objects manual
  1. English
  2. Português (Brasil)
  3. українська мова
  4. 简体中文
Topics ▾ Latest version ▾ git-unpack-objects last updated in 2.11.4
Changes in the git-unpack-objects manual
  1. 2.12.5 → 2.51.1 no changes
  2. 2.11.4 2017年09月22日
  3. 2.7.6 → 2.10.5 no changes
  4. 2.6.7 2017年05月05日
  5. 2.5.6 no changes
  6. 2.4.12 2017年05月05日
  7. 2.1.4 → 2.3.10 no changes
  8. 2.0.5 2014年12月17日

Check your version of git by running

git --version

NAME

git-unpack-objects - Unpack objects from a packed archive

SYNOPSIS

git unpack-objects [-n] [-q] [-r] [--strict]

DESCRIPTION

Read a packed archive (.pack) from the standard input, expanding the objects contained within and writing them into the repository in "loose" (one object per file) format.

Objects that already exist in the repository will not be unpacked from the packfile. Therefore, nothing will be unpacked if you use this command on a packfile that exists within the target repository.

See git-repack[1] for options to generate new packs and replace existing ones.

OPTIONS

-n

Dry run. Check the pack file without actually unpacking the objects.

-q

The command usually shows percentage progress. This flag suppresses it.

-r

When unpacking a corrupt packfile, the command dies at the first corruption. This flag tells it to keep going and make the best effort to recover as many objects as possible.

--strict

Don’t write objects with broken content or links.

--max-input-size=<size>

Die, if the pack is larger than <size>.

GIT

Part of the git[1] suite

AltStyle によって変換されたページ (->オリジナル) /