github - Git repo size increased post BFG Repo Cleaner use -


i have cleaned repo bfg repo cleaner

$ git clone --mirror ssh://git@example.com/some-big-repo.git $ java -jar bfg-1.12.8.jar --strip-blobs-bigger-than 100m some-big-repo.git 

output above command:

slf4j: failed load class "org.slf4j.impl.staticloggerbinder". slf4j: defaulting no-operation (nop) logger implementation slf4j: see http://www.slf4j.org/codes.html#staticloggerbinder further details.  using repo : some-big-repo.git  scanning packfile large blobs: 1064306 scanning packfile large blobs completed in 6,655 ms. found 17 blob ids large blobs - biggest=548483051 smallest=154402960 total size (unpacked)=6732468925 found 13643 objects protect found 175 tag-pointing refs : refs/tags/alpha_7_0_0_27, refs/tags/alpha_7_0_0_28, refs/tags/alpha_7_0_0_29, ... found 1886 commit-pointing refs : head, refs/heads/cli-ps-command-shows-tag-and-branch, refs/heads/ibis-15065-ibis70, ...  protected commits -----------------  these protected commits, , contents not altered:   * commit 5ebfab47 (protected 'head') - contains 1 dirty file :      - system-profiles-backup.zip (147.3 mb)  warning: dirty content above may removed other commits, *protected* commits still use it, still exist in repository.  details of protected dirty content have been recorded here :  some-big-repo.git.bfg-report/2015-12-16/16-30-47/protected-dirt/  if *really* want content gone, make manual commit removes it, , run bfg on fresh copy of repo.   cleaning --------  found 87529 commits cleaning commits:       100% (87529/87529) cleaning commits completed in 8,549 ms.  updating 300 refs -----------------      ref                                                                  before     after        ----------------------------------------------------------------------------------------     refs/heads/cli-ps-command-shows-tag-and-branch                     | d80c38e9 | abea37b6     refs/heads/ibis-15065-ibis70                                       | e7072a57 | 5fa674fa     refs/heads/ibis-16015                                              | 91e27129 | b7d724e9     refs/heads/ibis-16015_sup20773                                     | db6ab9ff | 0e3e4bea     refs/heads/ibis-17123                                              | 6240c520 | c5c80835     refs/heads/ibis-17763                                              | fc30c283 | 658a4e1a     refs/heads/ibis-18691_suspended_entries_disappear_while_migration  | d9a2664e | d1d94242     refs/heads/ibis-18800_portalrelaseafterfix                         | 6bc61c8d | 74667b55     refs/heads/ibis-19245                                              | a5b22b93 | 6811dabd     refs/heads/ibis-19367_70                                           | c9b55fef | 7662bb67     refs/heads/ibis-19409_merge_71                                     | 39c9ce35 | 78e3b4d4     refs/heads/ibis-19409_remove_retry_timeout_validation              | 08f0fbe4 | a6261048     refs/heads/ibis-19686-sessionfixationvalve-is61                    | bf6a76d9 | 08785e1d     refs/heads/ibis-20041-ibis61                                       | a5e0bd71 | cb907ae5     refs/heads/ibis-20128                                              | 45f4d8d6 | e7502f69     ...  updating references:    100% (300/300) ...ref update completed in 80 ms.  commit tree-dirt history ------------------------      earliest                                              latest     |                                                          |     .........................................dm...dddddddddddddd      d = dirty commits (file tree fixed)     m = modified commits (commit message or parents changed)     . = clean commits (no changes file tree)                              before     after        -------------------------------------------     first modified commit | 8733298e | 6df4eda8     last dirty commit     | fa17594e | 64ad5e9c  deleted files -------------      filename                                 git id                                            --------------------------------------------------------------------------------------     systembackuparchiveas461.zip           | 22107431 (461.6 mb)                               systembackuparchiveas470.zip           | 9171cef4 (334.1 mb)                               systembackuparchiveas471.zip           | c3cfc352 (284.7 mb)                               systembackuparchivetaskswaitings61.zip | 7a07cebc (523.1 mb)                               systembackuparchivetaskswaitings70.zip | 9dde5c99 (341.9 mb)                               systembackuparchivetaskswaitings71.zip | d6252b6d (306.4 mb)                               backup61discontinuedplugin.zip         | 7f44976a (461.9 mb)                               backup61withusersuspend.zip            | 40b949e4 (453.1 mb)                               backupxsltconverter61.zip              | 5c4dd7c9 (326.0 mb), c09da1e4 (467.1 mb)          distribution-1.0.0-snapshot.jar        | 10bc3f1c (159.3 mb)                               migration61to70backup.zip              | af5d924c (490.5 mb), c595cfd9 (467.2 mb), ...     system-profiles-backup.zip             | 373b5a98 (147.3 mb)                             in total, 43855 object ids changed. full details logged here:      some-big-repo.git.bfg-report/2015-12-16/16-30-47  bfg run complete! when ready, run: git reflog expire --expire=now --all && git gc --prune=now --aggressive   has bfg saved time?  support bfg on bountysource:  https://j.mp/fund-bfg  $ cd some-big-repo.git $ git reflog expire --expire=now --all && git gc --prune=now --aggressive 

i can see local repo has shrunk 6.4g 1.4g. great. try push now

$ git push 

git push didn't work gave me error message:

counting objects: 218648, done. delta compression using 8 threads. compressing objects: 100% (81662/81662), done. writing objects: 100% (215818/215818), 666.89 mib | 1.07 mib/s, done. total 215818 (delta 119117), reused 210562 (delta 115381) remote: communication breakdown stash. ssh://git@example.com/some-big-repo.git   ! [remote rejected] cli-ps-command-shows-tag-and-branch -> cli-ps-command-shows-tag-and-branch (pre-receive hook declined)   ! [remote rejected] cuc-112 -> cuc-112 (pre-receive hook declined)  ...  ! [remote rejected] rc_7_0_0_9 -> rc_7_0_0_9 (pre-receive hook declined) error: failed push refs 'ssh://git@example.com/some-big-repo.git' 

later did fresh clone of repo , time surprise repo shows bigger size 7.4g. not sure went on here , need inputs on rectifying stuffs.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -