Created
April 20, 2014 03:26
-
-
Save lanrion/11104201 to your computer and use it in GitHub Desktop.
git remove remote cache file
This file contains 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
git rm --cached asd | |
git commit -m "the file asd is gone from the repository" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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