Challenge 1
Complete the Git command to expand packed objects into loose storage.
git --dry-run
Press Ctrl⌘Enter to check your answer
Create two disposable repositories. Put at least two commits in the source repository and use Git plumbing to produce a pack containing the source objects. In a clean receiver repository, run `git unpack-objects --dry-run` first, then unpack the pack. Capture evidence with `git count-objects -v` and `git cat-file -t <object-id>` showing that the receiver now has loose objects. Repeat the unpack to demonstrate that already-present objects are skipped. Finally, explain when `--strict`, `-q`, and `-r` would be appropriate and why `git unpack-objects` is the inverse storage direction of `git pack-objects`.
Challenge 1
git --dry-run
Press Ctrl⌘Enter to check your answer
Challenge 2
git
Press Ctrl⌘Enter to check your answer
Challenge 3
git < /path/to/archive.pack
Press Ctrl⌘Enter to check your answer
Challenge 4
git < ../incoming.pack
Press Ctrl⌘Enter to check your answer