Skip to content

Instantly share code, notes, and snippets.

@nimeshpahadi
Created May 4, 2021 17:10
Show Gist options
  • Save nimeshpahadi/9cbce0d0b0ea54bd913a854de6242005 to your computer and use it in GitHub Desktop.
Save nimeshpahadi/9cbce0d0b0ea54bd913a854de6242005 to your computer and use it in GitHub Desktop.
git rm --cached *.pyc
# Or, to untrack all .pyc files in a project recursively,
$ find . -name '*.pyc' | xargs -n 1 git rm --cached
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment