3 ms·
I think I am an experienced developer (not Python) and this would never cross my mind.
by TomMarius 6y ago
I think I am an experienced developer (not Python) and this would never cross my mind.
- progval 6y agoWhen you review the list of changes (including added files), you notice the files that shouldn't be there; so you would see them before committing. And even if you forget, git also lists new files after calling "git commit"
- thaumasiotes 6y agoIt would never cross your mind not to commit .pyc files to source control? They're not even source. Committing .pyc files is to Python what committing .o files is to C.
- oefrha 6y ago> They're not even source. To be clear, they’re not even text. You don’t need to know Python at all to realize something’s not right when you’re committing unknown binaries to source control.