mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-29 04:21:03 +08:00
17fa6f4b80
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc>
21 lines
362 B
Markdown
21 lines
362 B
Markdown
# git repack
|
|
|
|
> Pack unpacked objects in a Git repository.
|
|
> More information: <https://git-scm.com/docs/git-repack>.
|
|
|
|
- Pack unpacked objects in the current directory:
|
|
|
|
`git repack`
|
|
|
|
- Remove redundant objects after packing:
|
|
|
|
`git repack -d`
|
|
|
|
- Repack all objects into a single pack:
|
|
|
|
`git repack -a`
|
|
|
|
- Limit the repack to local objects only:
|
|
|
|
`git repack -l`
|