As in find . -name 'whowon.html' -execdir git rm '{}' \; or more simply just git rm '*/whowon.html' This is per discussion on GitHub - the files will in the future be generated rather than made manually so these files must go for now.