mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:22:08 +02:00
git-repack: add page (#4018)
This commit is contained in:
parent
8340b36fba
commit
b305693b00
1 changed files with 12 additions and 0 deletions
12
pages/common/git-repack.md
Normal file
12
pages/common/git-repack.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# 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`
|
||||||
|
|
||||||
|
- Also remove redundant objects after packing:
|
||||||
|
|
||||||
|
`git repack -d`
|
Loading…
Add table
Reference in a new issue