1GIT-UNPACK-OBJECTS(1) Git Manual GIT-UNPACK-OBJECTS(1)
2
3
4
6 git-unpack-objects - Unpack objects from a packed archive
7
9 git unpack-objects [-n] [-q] [-r] [--strict]
10
12 Read a packed archive (.pack) from the standard input, expanding the
13 objects contained within and writing them into the repository in
14 "loose" (one object per file) format.
15
16 Objects that already exist in the repository will not be unpacked from
17 the packfile. Therefore, nothing will be unpacked if you use this
18 command on a packfile that exists within the target repository.
19
20 See git-repack(1) for options to generate new packs and replace
21 existing ones.
22
24 -n
25 Dry run. Check the pack file without actually unpacking the
26 objects.
27
28 -q
29 The command usually shows percentage progress. This flag suppresses
30 it.
31
32 -r
33 When unpacking a corrupt packfile, the command dies at the first
34 corruption. This flag tells it to keep going and make the best
35 effort to recover as many objects as possible.
36
37 --strict
38 Don’t write objects with broken content or links.
39
40 --max-input-size=<size>
41 Die, if the pack is larger than <size>.
42
44 Part of the git(1) suite
45
46
47
48Git 2.31.1 2021-03-26 GIT-UNPACK-OBJECTS(1)