I have created a new React project with WebStorm. WebStorm automatically created the git repository. I can see, that except node-modules all other directories and files are in the local git repository. (.idea and .gitignore are also there.) This project is on Linux. I would like to use a shared bare git repository (like GitHub) to work on this project both from Linux and from OS X using WebStorm. But how can I do this with WebStorm? If I would create now a new project on OS X and clone the repository, the .gitignore and .idea will be cloned but node-modules directory will be missing.
So how can I develop a React app using WebStorm and different git repositories?
Thanks in advance