Git is the most popular distributed version control system, and you are probably already using it for your Django project. Although you are tracking file changes for most of your files, it's recommended that you keep some specific files and folders out of version control. Usually, caches, compiled code, log files, and hidden system files should not be tracked in the Git repository.
Creating the Git ignore file
Getting ready
Make sure that your Django project is under Git version control.
How to do it...
Using your favorite text editor, create a .gitignore file at...