PCP2024 / PCPuppies

MIT License
0 stars 0 forks source link

fill .gitignore #3

Open BorjaEst opened 3 months ago

BorjaEst commented 3 months ago

I recommend you this link: https://github.com/github/gitignore/blob/main/Python.gitignore

Also add .DS_Store to the .gitignore.

Hctor99 commented 3 months ago

Thank you Borja!

BorjaEst commented 3 months ago

You still need to complete it, with all the files from the link I added. Other wise, your repository will still collect files which are not supposed to be in the repository.

for example here: https://github.com/PCP2024/PCPuppies/tree/main/tests

The pycache is your cache execution. Almost every time you run, it is going to run it is going to regenerate, and if you version control this files (with git) then your repositry size will grow a lot (and you do not needed as software).

.gitignore prevents this kind of things.

BorjaEst commented 3 months ago

Just copy the whole file form "https://github.com/github/gitignore/blob/main/Python.gitignore" and add your specifics at the bottom. And do not forget to remove all the pycache folders that were added to your repository!