I am trying to ignore the .pyc files in my folder and do not want to add them to my repository and i already created the gitignore file.
My gitignore file looks like this:
#python specific
*.pyc
##generic files to ignore
*~
*.lock
*.DS_Store
*.swp
*.out
Besides the .pyc file i want to ignore some other basic generic files. But when i type git add .
, it still adds the .pyc files.
How do i solve this problem?Need some help...