Skip to content
This repository was archived by the owner on Jan 22, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
29 lines (20 loc) · 419 Bytes

File metadata and controls

executable file
·
29 lines (20 loc) · 419 Bytes

Create a Pack File

First, let's take a look at how many objects are in our repository:

git count-objects -H

Now let's pack it up:

git gc

Let's look again at the objects in our repository:

git count-objects -H
OR
git count-objects -v -H

Let's verify what is in the pack:

git verify-pack -v .git/objects/pack/pack-<pack-file>.idx