Skip to content

Instantly share code, notes, and snippets.

@javabrett
Created May 17, 2016 23:45
Show Gist options
  • Save javabrett/3fa872fc933dcacd5fc1b8ac18a81615 to your computer and use it in GitHub Desktop.
Save javabrett/3fa872fc933dcacd5fc1b8ac18a81615 to your computer and use it in GitHub Desktop.
java -jar ~/git/bfg-repo-cleaner/bfg/target/bfg-1.12.13-SNAPSHOT-remotes/upstream/HEAD-8abe03c.jar -D A
Using repo : /tmp/tmp.gL9bSDEzqB/.git
Found 3 objects to protect
Found 2 commit-pointing refs : HEAD, refs/heads/master
Protected commits
-----------------
These are your protected commits, and so their contents will NOT be altered:
* commit de5d529d (protected by 'HEAD')
Cleaning
--------
Found 4 commits
Cleaning commits: 100% (4/4)
Cleaning commits completed in 57 ms.
Updating 1 Ref
--------------
Ref Before After
---------------------------------------
refs/heads/master | de5d529d | ef534a84
Updating references: 100% (1/1)
...Ref update completed in 27 ms.
Commit Tree-Dirt History
------------------------
Earliest Latest
| |
D D D m
D = dirty commits (file tree fixed)
m = modified commits (commit message or parents changed)
. = clean commits (no changes to file tree)
Before After
-------------------------------------------
First modified commit | abc08116 | 49cdfd68
Last dirty commit | a745fa8f | afeef004
Deleted files
-------------
Filename Git id
-------------------------
A | f70f10e4 (2 B)
In total, 7 object ids were changed. Full details are logged here:
/tmp/tmp.gL9bSDEzqB.bfg-report/2016-05-18/09-43-51
BFG run is complete! When ready, run: git reflog expire --expire=now --all && git gc --prune=now --aggressive
Has the BFG saved you time? Support the BFG on BountySource: https://j.mp/fund-bfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment