Skip to content

Instantly share code, notes, and snippets.

@yang-zhang
Created May 19, 2018 02:09
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save yang-zhang/8e61fdae097a1cda2dfae04d3d9592cc to your computer and use it in GitHub Desktop.
How to remove file from git but keep locally
git rm --cached -r file_to_remove_and_keep_local.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment