Hybrid Apps in VR

Slides – https://photos.app.goo.gl/nj2RPWYAY9VNBeuz7

Advertisements

cleanup large .git objects

TLDR – Never delete the whole objects dir in .git as it corrupts the repo forever. You can however search for bit items in the dir and delete them individually OR you can delete the repo and reclone it with 1 depth (git clone –depth 1).

ref – https://stackoverflow.com/questions/5277467/how-can-i-clean-my-git-folder-cleaned-up-my-project-directory-but-git-is-sti

Most of the files are .png, and the last one in the list is a .mov, which I would guess takes up most of the space. There are also .csv and .pdf files. The next step would be to clean up your git by removing all of those unnecessary files.

One option is to use the bfg-repo-cleaner tool, which worked great for me on other repos I’ve tried it on.

Alternatively, you could do it manually following this git article, as outlined below:

git filter-branch --index-filter 'git rm --cached --ignore-unmatch *.mov' -- --all
rm -Rf .git/refs/original
rm -Rf .git/logs/
git gc --aggressive --prune=now

Then repeat with other types of files.

Then verify:

git count-objects -v

Your size-pack should be a lot smaller now.

Excel convert text to date