Git .gitignore
2017-05-25 10:14
134 查看
我们看一个
.gitignore文件的例子:
# no .a files *.a # but do track lib.a, even though you're ignoring .a files above !lib.a # only ignore the TODO file in the current directory, not subdir/TODO /TODO # ignore all files in the build/ directory build/ # ignore doc/notes.txt, but not doc/server/arch.txt doc/*.txt # ignore all .pdf files in the doc/ directory doc/**/*.pdf
#IF GITIGNORE IS NOT WORKING,JUST RUN:# git rm -r --cached . # git add .# git commit -m ".gitignore is now working"
相关文章推荐
- git ignore
- Git忽略文件及Unity下的ignore配置
- gitignore python 清单
- git如何ignore
- github中不加入版本控制.gitignore设定
- .gitignore
- Android gitignore文件解析
- Git使用记录 0.如何add .gitignore ,pull的库都忽略列表一致
- .gitignore无效,不能过滤某些文件
- git 创建 .gitignore 文件 建立项目过滤规则
- GitHub gitignore官方文档翻译
- .gitignore详解
- .gitignore文件通用模板
- Git .gitignore 过滤文件和文夹
- SmartGit使用总结之忽略文件.gitignore
- Git .gitignore 使用
- git ignore已经checked in files
- .gitignore & git rm 从仓库中删去某个文件
- gitignore样例解析
- Gradle gitignore Gradle 模式 上传SVN 要忽略的文件