Thursday, November 12, 2015

Git: remove files from the index which are ignored by .gitignore

If you update your patterns in .gitignore, you're often left with a set of files in the index and repository that should be removed. This can be achieved as follows:

You now have the ignored files staged for deletion.

No comments:

Post a Comment