git gc

From wikieduonline
Jump to navigation Jump to search

git gc (doc)Cleanup unnecessary files and optimize the local repository

git gc 
git gc --aggressive
git gc --aggressive --prune=now
git gc
Nothing new to pack.
git gc
Enumerating objects: 3292, done.
Counting objects: 100% (3292/3292), done.
Delta compression using up to 8 threads
Compressing objects: 100% (1553/1553), done.
Writing objects: 100% (3292/3292), done.
Total 3292 (delta 1199), reused 3292 (delta 1199), pack-reused 0 (from 0)

Related[edit]

See also[edit]

Advertising: