Optimized cherry-pick

11 views
Skip to first unread message

euni...@gmail.com

unread,
Aug 18, 2017, 2:03:12 AM8/18/17
to Repo and Gerrit Discussion
Hello

If I cherry-pick a particular change that contains a binary, the capacity will be around 7G, .Git 34G.
Running gc on cherry-picked git will reduce .git to about 4.5G.

Is there a way to sync from the beginning to 4.5G?

If I run gc --prune=now in bare git repos and cherry-pick again, .git does not change to 34G
I wonder if there is another way.

Thank you.
Reply all
Reply to author
Forward
0 new messages