Last active
December 16, 2015 13:39
-
-
Save jtdp/5443305 to your computer and use it in GitHub Desktop.
Git remove file but keep local copy. Note that when other repository clones pull from the same remote, their local copy of the file will be deleted unless they have modified it.
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 <filename> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment