What should I put in a meteor .gitignore file?

后端 未结 15 976
一向
一向 2021-01-30 19:14

I have a new meteor project. I\'m guessing the .meteor dir has a combination of configuration files (needed) and temporary files (not needed).

So what\'s i

15条回答
  •  [愿得一人]
    2021-01-30 19:56

    .meteor/local is the only thing you want missing from version control.

    Meteor automatically generates a .gitignore file that would fit your needs.

    If it's a public repository you'll likely want to include "settings-development.json" or any other JSON files containing information you don't want to disclose to the public such as AWS API keys.

    However Bitbucket and some others provides free private repositories which should fit your needs.

提交回复
热议问题