Skip to content

Making git "forget" about all files that are already tracked but are in .gitignored #19

@madc

Description

@madc

http://stackoverflow.com/a/19095988/709769

Remove all files from repo:

git rm -r --cached . 

Re-add all files:

git add .

then

git commit -am "Remove ignored files"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions