I'm developing react native app and during developement in some cases I have to remove node modules and then adding it again and after that I'm installing the pods also, But there are so many pod files which are here in my git folder and not ignoring as I already put a specific path in my .gitignore file. If anyone have idea about how to do that? I tried everything but it's not working somehow.
Tried with putting these paths
/ios/Pods/
/vendor/bundle/
Please let me know if there's any better solution than this.