tldr/pages/common/git-repack.md

13 lines
248 B
Markdown
Raw Normal View History

2020-05-09 07:31:47 +01:00
# git repack
2021-01-07 14:06:38 +00:00
> Pack unpacked objects in a Git repository.
2020-05-09 07:31:47 +01:00
> More information: <https://git-scm.com/docs/git-repack>.
- Pack unpacked objects in the current directory:
`git repack`
- Also remove redundant objects after packing:
`git repack -d`