I am making a react project and using Linux mint in Laptop and Windows 10 desktop. I would like to know, which files or folders should I keep in .gitignore so that I don't have to clean cache and install npm whenever I switch computers.
Why bother? Just point your browser to gitignore.io and select all the tools and technologies you are using. You will automatically have a generated .gitignore
file.