Git Ignore

创建一个新文件 ~/.gitignore ,并将以下内容添加进去,这样全部 git 仓库将会忽略以下内容所提及的文件。

  1. # Folder view configuration files
  2. .DS_Store
  3. Desktop.ini
  4. # Thumbnail cache files
  5. ._*
  6. Thumbs.db
  7. # Files that might appear on external disks
  8. .Spotlight-V100
  9. .Trashes
  10. # Compiled Python files
  11. *.pyc
  12. # Compiled C++ files
  13. *.out
  14. # Application specific files
  15. venv
  16. node_modules
  17. .sass-cache