mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-03 22:42:39 +08:00
* git-unpack-objects: add page * git-unpack-objects: add page * Update pages/common/git-unpack-objects.md Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com> * Update pages/common/git-unpack-objects.md Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com> * Apply batched suggestions from code review Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com> * Update pages/common/git-unpack-objects.md Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com> * Add pack file parameter to git unpack-objects examples Updated examples to include pack file parameter for git unpack-objects commands. * Revised input redirection Updated command syntax for git unpack-objects examples. --------- Co-authored-by: open-source-learner <315730032+open-source-learner@users.noreply.github.com>
682 B
682 B
git unpack-objects
Git command for unpacking objects from a packed archive. More information: https://git-scm.com/docs/git-unpack-objects.
- Simulate the pack file without unpacking objects:
git < {{pack-file.pack}} unpack-objects -n
- Suppress percentage progress typically shown by the command:
git < {{pack-file.pack}} unpack-objects -q
- Unpack a corrupt packfile beyond the first corruption:
git < {{pack-file.pack}} unpack-objects -r
- Don't write objects containing broken content or links:
git < {{pack-file.pack}} unpack-objects --strict
- Die, given a pack larger than
size:
git < {{pack-file.pack}} unpack-objects --max-input-size={{size}}