This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All credits goes to "Vi." @ stackoverflow | |
# https://stackoverflow.com/questions/1029969/why-is-my-git-repository-so-big | |
git filter-branch -f --index-filter \ | |
'git rm --force --cached --ignore-unmatch video/parasite-intro.avi' \ | |
-- --all | |
rm -Rf .git/refs/original && \ | |
git reflog expire --expire=now --all && \ | |
git gc --aggressive && \ | |
git prune |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# All credit goes to "Vi." @ stackoverlow | |
# https://stackoverflow.com/questions/1029969/why-is-my-git-repository-so-big | |
git rev-list --all --objects | \ | |
sed -n $(git rev-list --objects --all | \ | |
cut -f1 -d' ' | \ | |
git cat-file --batch-check | \ | |
grep blob | \ | |
sort -n -k 3 | \ | |
tail -n40 | \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
annotations: | |
controller-gen.kubebuilder.io/version: v0.3.0 | |
creationTimestamp: null | |
name: runners.actions.summerwind.dev | |
spec: | |
additionalPrinterColumns: | |
- JSONPath: .spec.enterprise |