0

I am currently writing a program in python however before I fully start I set up my git repository so I want to know what are the files that should be added to gitignore before I push to Github. Not adding the correct files in previous projects caused me many problems, therefore, I am trying to avoid the same mistake

2 Answers2

1

There is one got repository for various of gitignores on github.

Python.gitignore

Lee
  • 1,427
  • 9
  • 17
1

You can check this nice repository: https://github.com/github/gitignore

It's a list of gitignore templates for many languages and frameworks.

Here is the one for python: https://github.com/github/gitignore/blob/master/Python.gitignore

Francois
  • 3,050
  • 13
  • 21