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