0

After noticing the pycache folder i decided to ignore them adding pycache\ in gitignore but it doesn't seem to work (it works in the root folder but not recursively in subfolder utilities) ... Any idea ?

enter image description here

amous
  • 69
  • 6
  • why have you added `__pycache__/` and not `__pycache__`? – eis Oct 19 '20 at 10:01
  • 4
    but anyway, .gitignore works for new files, but if you've already previously added some files you'll need to remove those separately – eis Oct 19 '20 at 10:02
  • 1
    btw u can use https://www.toptal.com/developers/gitignore to generate git ignore files (just type in IDES coding languages etc and it generates the text – Martin Oct 19 '20 at 10:33
  • @eis: there's nothing wrong with using `__pycache__/` here, but using `__pycache__\` is a bad idea. – torek Oct 19 '20 at 14:35

0 Answers0