Thread (16 messages) 16 messages, 4 authors, 2016-06-15

Re: [PATCH] Documentation: pruning recipe for destructive filter-branch

flat view

From: Jan Krüger <hidden>
Date: 2016-06-15 22:46:10

Hi,

On Fri, 13 Feb 2009 18:14:39 +0100, Thomas Rast [off-list ref]
wrote:
Add a section about how to shrink a repository's size after running
git-filter-branch to remove large blobs from history.
Good idea.
quoted hunk ↗ jump to hunk
+* Expire all reflogs with `git reflog expire \--expire=now \--all`.
+
+* Repack to remove packed objects with `git repack -ad`.
+
+* Prune unpacked unreferenced objects with `git prune \--expire=now`.
Is the --expire=now actually needed for prune? The way I read it
git-prune(1), it defaults to pruning everything anyway.

-Jan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help