git忽略文件设置

2009年4月11日星期六

 

在.git/info/exclude写入文件格式即可。

latex过程的过滤文件设置

例子:

# git-ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~
*.[oa]
*~
*.aux
*.bak
*.bbl
*.lof
*.log
*.lot
*.lst
*.out
*.pdf
*.toc

0 评论: