.gitignore

Main point

ALWAYS use .gitignore. It specifies files intentionally ignored by Git.

  • If you are using PyCharm, definitely install .ignore plugin. This will make managing .gitignore a breeze.
  • Alternatively, it is possible to generate .gitignore online using gitignore.io.
  • You may find an example of .gitignore for Python project in Big-Bang-py.