git's People
git's Issues
Remove large file
http://rtyley.github.io/bfg-repo-cleaner/
Down to 35 megs after the prune.
[mregan@mregan-mbp15 /tmp]> du -hs cloud-ops.git/
35M cloud-ops.git/
[mregan@mregan-mbp15 /tmp]> du -hs cloud-ops.git.clean/
134M cloud-ops.git.clean/
java -jar /Users/mregan/Downloads/bfg-1.11.8.jar --no-blob-protection --delete-files *.deb cloud-ops.git/
Using repo : /private/tmp/cloud-ops.git
Found 0 objects to protect
Found 32 commit-pointing refs : HEAD, refs/heads/DSA-fix-8089, refs/heads/bwong, ...
Protected commits
-----------------
You're not protecting any commits, which means the BFG will modify the contents of even *current* commits.
This isn't recommended - ideally, if your current commits are dirty, you should fix up your working copy and commit that, check that your build still works, and only then run the BFG to clean up your history.
Cleaning
--------
Found 1220 commits
Cleaning commits: 100% (1220/1220)
Cleaning commits completed in 918 ms.
Updating 30 Refs
----------------
Ref Before After
-----------------------------------------------------------------------
refs/heads/DSA-fix-8089 | f6fea588 | 94d5a3ad
refs/heads/bwong | fd4e62b0 | 504ad4a8
refs/heads/develop | 2d15b406 | bb8f155e
refs/heads/feature/CO-1468-Splunk-Roles-Rebase | 73e6a886 | 18556cf2
refs/heads/feature/CO-1488_map_all_indexes_app | c5950d1e | fafefbdd
refs/heads/feature/CO-1526-MPL-s3-index-archival | f6fea588 | 94d5a3ad
refs/heads/feature/SEC-2270_apply_cluster_bundle | 0cb719e4 | 9a3c6636
refs/heads/feature/SEC-2496_deploy_ansible_config | a030505e | fccc54a0
refs/heads/feature/SEC-2498_Updates_to_gitignore | e33333e3 | 267e6aff
refs/heads/feature/add-stack-cleanup02 | 95108679 | bd6afe9e
refs/heads/master | 480fd85f | 08c6b9d4
refs/heads/task/MR-change-jenkins-token | ee7662a7 | c7180f30
refs/pull/10/head | aa3e1559 | 8837316c
refs/pull/11/head | e33333e3 | 267e6aff
refs/pull/12/head | 29cb2a19 | 0d65c279
refs/pull/12/merge | 50f4f94f | b85d1758
refs/pull/13/head | a030505e | fccc54a0
refs/pull/14/head | 73e6a886 | 18556cf2
refs/pull/15/head | df0bfc3f | dad2da6d
refs/pull/16/head | a3d89ca4 | 82117568
refs/pull/17/head | c53eb6e4 | 26cb6909
refs/pull/18/head | 63dabf45 | ccc8d965
refs/pull/19/head | ee7662a7 | c7180f30
refs/pull/19/merge | 646aaa4e | 57d14eb7
refs/pull/5/head | 0cb719e4 | 9a3c6636
refs/pull/6/head | c6af88d4 | 539d5570
refs/pull/6/merge | 6e4ea693 | ce7c3584
refs/pull/7/head | c6af88d4 | 539d5570
refs/pull/8/head | 236037df | 7dab0fd9
refs/pull/9/head | f136b285 | bb72aa4f
Updating references: 100% (30/30)
...Ref update completed in 56 ms.
Commit Tree-Dirt History
------------------------
Earliest Latest
| |
.........................................DDDDDDDDDDDDDDDDDDD
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 | ef2a2647 | be288263
Last dirty commit | 2d15b406 | bb8f155e
In total, 711 object ids were changed - a record of these will be written to:
/private/tmp/cloud-ops.git.bfg-report/2014-09-15/13-22-54/object-id-map.old-new.txt
BFG run is complete!
[mregan@mregan-mbp15 /tmp]> cd cloud-ops.git
[mregan@mregan-mbp15 /tmp/cloud-ops.git]> git reflog expire --expire=now --all
[mregan@mregan-mbp15 /tmp/cloud-ops.git]> git gc --prune=now --aggressive
Counting objects: 4842, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4493/4493), done.
Writing objects: 100% (4842/4842), done.
Total 4842 (delta 3033), reused 1537 (delta 0)
[mregan@mregan-mbp15 /tmp/cloud-ops.git]> cd ..
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.