Git管理项目,各类项目可以忽略的文件

在项目根目录建议一个.gitignore文件,根据需要输入如下内容

创新互联专业为企业提供枣庄网站建设、枣庄做网站、枣庄网站设计、枣庄网站制作等企业网站建设、网页设计与制作、枣庄企业网站模板建站服务,10多年枣庄做网站经验,不只是建网站,更提供有价值的思路和整体网络服务。

(可参见官方模板https://github.com/github/gitignore)

#------- Object-c ---- 

# Xcode

#

build/

*.pbxuser

!default.pbxuser

*.mode1v3

!default.mode1v3

*.mode2v3

!default.mode2v3

*.perspectivev3

!default.perspectivev3

xcuserdata

*.xccheckout

*.moved-aside

DerivedData

*.hmap

*.ipa

*.xcuserstate

# ---- Python -----

# Byte-compiled / optimized / DLL files

__pycache__/

*.py[cod]

# C extensions

*.so

# Distribution / packaging

.Python

env/

build/

develop-eggs/

dist/

downloads/

eggs/

lib/

lib64/

parts/

sdist/

var/

*.egg-info/

.installed.cfg

*.egg

# PyInstaller

#  Usually these files are written by a python script from a template

#  before PyInstaller builds the exe, so as to inject date/other infos into it.

*.manifest

*.spec

# Installer logs

pip-log.txt

pip-delete-this-directory.txt

# Unit test / coverage reports

htmlcov/

.tox/

.coverage

.cache

nosetests.xml

coverage.xml

# Translations

*.mo

*.pot

# Django stuff:

*.log

# Sphinx documentation

docs/_build/

# PyBuilder

target/


名称栏目:Git管理项目,各类项目可以忽略的文件
文章来源:http://hbruida.cn/article/ippcgj.html