Mac中.gitignore的常用配置

进入项目目录,

创建.gitignore文件:

touch .gitignore

编辑.gitignore文件

可以在VSCode中编辑或者vim

更改.gitignore的内容

# Folder view configuration files
.DS_Store
Desktop.ini

# Thumbnail cache files
._*
Thumbs.db

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

# Compiled Python files
*.pyc

# Compiled C++ files
*.out

# Application specific files

node_modules
.sass-cache

# Temp File
*.swp
*.swa
*.swo

# github merge file
*.orig

# virtualenv
venv
__pycache__
#vscode 
.vscode

你可能感兴趣的:(安装配置)