MDAnalysis / WorkshopHackathon2018

Materials, issues and things for the 2018 Workshop and Hackathon
https://www.mdanalysis.org/WorkshopHackathon2018/
GNU General Public License v3.0
14 stars 25 forks source link

rewrite history to remove big keynote file #43

Closed orbeckst closed 5 years ago

orbeckst commented 5 years ago

I added (and removed) a 70 MB file intro-mdanalysis.key.

I want to remove it from the history , following https://help.github.com/articles/removing-sensitive-data-from-a-repository/ and using http://rtyley.github.io/bfg-repo-cleaner/ so that attendees don't have to wait long for cloning or shallow clone.

Note: WILL REWRITE HISTORY. Everyone should merge branches first.

orbeckst commented 5 years ago

Done.

git pull

should do a forced update.

orbeckst commented 5 years ago

Commands

git clone --mirror git@github.com:MDAnalysis/WorkshopHackathon2018.git
java -jar bfg-1.13.0.jar --delete-files intro-workshop.key WorkshopHackathon2018.git
cd WorkshopHackathon2018.git
git reflog expire --expire=now --all && git gc --prune=now --aggressive
git push