git ignore __pycache__ folder

ignore __pycache__ folder
add __pycache__ into .git/info/exclude file

# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
parent_folder/__pycache__

版权声明:本文为MagicalProgrammer原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。