gitignore中常见的需要被忽略的文件:例如各个系统、一些软件会自动生成的文件,主要适用于web项目.

复制后,保存进.gitignore文件中即可。

# Project
node_modules
bower_components
dist/*.map
/_*
npm-debug.log

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msm
*.msp

# Windows shortcuts
*.lnk

# =========================
# Operating System Files
# =========================

# OSX
# =========================

.DS_Store
.AppleDouble
.LSOverride
.idea

# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

 

相关文章:

  • 2021-09-16
  • 2022-12-23
  • 2021-04-14
  • 2021-05-28
  • 2021-12-04
  • 2022-12-23
猜你喜欢
  • 2021-05-30
  • 2021-07-17
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2021-07-29
相关资源
相似解决方案