How to write a .gitignore
file for python projects?
Most beginners will write it manually with project increase, and without the sense to classify the ignore file content.
I found a Git repository contains all the ignore file templates for most programming languages.
Github Gitignore
repository addree is a collection of useful .gitignore templates
gitignore for python
Download it directly:1
wget https://raw.githubusercontent.com/github/gitignore/ma ster/Python.gitignore
Content below:
1 | # Byte-compiled / optimized / DLL files |