modify .gitignore and add code.txt and log4j.txt