[Solved] How do I know what files should be gitignored?


Put the files you do not want in your git repository in the .gitignore file.

These are typically:

  • Easy to generate files
  • Intermediate (build) files
  • Large binaries (e.g. documentation), that are also available elsewhere (on your companies servers)
  • Files containing sensitive information (like passwords)
  • Files of external dependencies (especially when using a dependency manager to retrieve their exact version)

0

solved How do I know what files should be gitignored?