> From: citm09 <tusharme...@hotmail.com>
> Currently my repo contains all these _notes folder located under different
> folders in this tree structure. How do I remove these _notes folder and
> it's contains. I do not want Git to track these _notes folders and it's
What you need to do is put "_notes" in the top-level .gitignore file.
That will cause Git to ignore all of the _notes directories.
What I don't know is how to delete the record of the existing "_notes"
directories from the current commit, without deleting them from the
working tree. Ah, what you want is "git rm --cached -r". This would
work (if you were on some flavor of Un*x):
git rm --cached -r $( find . -name _notes )
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.