add .gitignore file with the line /dir_to_ignore/app