hellt / netdevops.me

"Applying devops to networks" blog
https://netdevops.me
24 stars 3 forks source link

2021/remove-binaries-and-big-files-from-git-repo/ #5

Closed utterances-bot closed 2 years ago

utterances-bot commented 3 years ago

Remove binaries and big files from git repo |

https://netdevops.me/2021/remove-binaries-and-big-files-from-git-repo/

c02y commented 3 years ago

Those commands successfully reduced my git-repo (the git clone --mirror one) from over 300MB to 60MB (already do git push), but after I git clone repo-url into my local disk, it is still over 300MB, and I check the large files using lf.py script, the list is the same with the old repo directory, so it seems those commands do NOTHING eventually?

brunoargolo commented 2 years ago

@c02y maybe you have tags? Try "git push --follow-tags".

c02y commented 2 years ago

@c02y maybe you have tags? Try "git push --follow-tags".

I don't have any tags, the repo I've tested is my dotfiles, no tags at all.