Skip to content

Instantly share code, notes, and snippets.

@ucheng
Created May 2, 2013 10:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ucheng/5501422 to your computer and use it in GitHub Desktop.
Save ucheng/5501422 to your computer and use it in GitHub Desktop.
Remove file or folder from a git repos
git rm --cached fileName
git rm -r --cached folderName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment