git 文件忽略

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

常见

下面这个是一个常见的一些

# 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
venv
node_modules
.sass-cache

在线生成

这个网站可以根据输入的调节自动生成忽略文件.

https://www.gitignore.io/

Copyright © zhaopeng.me 2017 all right reserved,powered by Gitbook该文件修订时间: 2017-04-11 14:39:42

results matching ""

    No results matching ""