Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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