Kevin Powell - CommunityKP-C
Kevin Powell - Community12mo ago
1 reply
CDL

git corruption when trying to add/commit/push - this works for me

find .git/objects -type f -empty -delete

git repack -a -d
git prune

git fetch --all


TL:DR it'll clean the files, clean the repo then fetch the code again
Was this page helpful?