I recently switched to git.
In my previous and first commit using git, I noticed that it also listed pyc files during commit. I did not think about it and committed and pushed them.
Now I understand that they are constantly updated during development and are very annoying to see them on the list. It just makes too much noise.
I did some research and did echo "*.pyc" >> .gitignore in the project directory.
This did not help, although pyc files are still showing. Maybe because I previously committed these pyc files, I can no longer ignore them? (since they are being tracked now, and the state has changed again). If so, am I cursed forever or is there still hope to delete files in the flashback from the repository?
thanks
source share