Is there a way for finding and deleting all .gitignore files ?
I must delete them before upload my project folder.
on linux / mac os execute the folling command in your terminal:
find . -type f -name .gitignore -exec rm {} \;
this finds all files of type file with the name .gitignore and deletes them.
Also you can do it with standard git methods, see git clean man and -X option.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With