Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete ignored files #164

Open
abhisekp opened this issue Aug 21, 2015 · 1 comment · May be fixed by #165
Open

Delete ignored files #164

abhisekp opened this issue Aug 21, 2015 · 1 comment · May be fixed by #165
Assignees

Comments

@abhisekp
Copy link
Collaborator

Untrack and delete unwanted or auto-generated files from repo which are ignored using .gitignore files.

@abhisekp abhisekp self-assigned this Aug 21, 2015
Repository owner locked and limited conversation to collaborators Aug 21, 2015
Repository owner unlocked this conversation Aug 21, 2015
@abhisekp
Copy link
Collaborator Author

In ref. to #163 (comment)

Deletion worked using the following command

git ls-files --ignored --exclude-standard | tr '\n' '\0' | xargs -0 -n255 git rm

Reference: http://stackoverflow.com/a/28806991/1262108

@abhisekp abhisekp linked a pull request Aug 21, 2015 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant