Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
git remove remote cache file
git rm --cached asd
git commit -m "the file asd is gone from the repository"
@lopugit

This comment has been minimized.

Copy link

lopugit commented Sep 4, 2018

this does not remove large files added and removed from cache from the commit history and so will still give a large file error

See https://gist.github.com/lopugit/14f28b7e4db8225fcff32b990c19a2bb for the solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.