Skip to content

Instantly share code, notes, and snippets.

@michaelbukachi
Created January 20, 2018 13:45
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 michaelbukachi/1373d7a2e2dab27c4b25fbc14dd51d41 to your computer and use it in GitHub Desktop.
Save michaelbukachi/1373d7a2e2dab27c4b25fbc14dd51d41 to your computer and use it in GitHub Desktop.
Git remove ignored files from Git index
#!/bin/bash
git rm -r --cached .
git add .
git commit -am "Remove ignored files"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment