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
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 pack-file. Therefore, nothing will be unpacked if you use this
18 command on a pack-file 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
41 Written by Linus Torvalds <torvalds@osdl.org[1]>
42
44 Documentation by Junio C Hamano
45
47 Part of the git(1) suite
48
50 1. torvalds@osdl.org
51 mailto:torvalds@osdl.org
52
53
54
55Git 1.7.1 08/16/2017 GIT-UNPACK-OBJECTS(1)