The videoscribe repository was getting out of hand and before I can actually create any new branches Iâ€™ve been trying to remove a bunch of files to bring the repository back under control in terms of file size.
Itâ€™s been proving pretty tough but Iâ€™ve done a similar run on Parafraze and I think Iâ€™ve cracked it.
git filter-branch â€“index-filter â€˜git rm -r â€“cached â€“ignore-unmatch <file/dir>â€™ HEAD â€“tag-name-filter cat â€” â€“all
Will get rid of the file and re-write the history. Then add the file / file type to the .gitignore file to ensure you donâ€™t track it again.
git push â€“all â€“tags â€“force
Subscribe to Elliot Blackburn
Get the latest posts delivered right to your inbox