Last active
March 26, 2020 20:49
-
-
Save afcuttin/3d1f62bc552a88e5a59ee5d48f75804e to your computer and use it in GitHub Desktop.
Seafile ignore file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# A blank line matches no files. | |
# A line starting with # serves as a comment. | |
# Seafile supports wildcards in the pattern. For example, "foo/*" matches "foo/1" and "foo/hello". "foo/?" matches "foo/1" but not "foo/hello". Note that the wildcard character * recursively matches all the paths under a folder. For instance, "foo/*.html" matches "foo/a.html" and "foo/templates/b.html". | |
# If the pattern ends with a slash, it would only match a folder. In other words, "foo/" will match a folder "foo" and paths underneath it, but will not match a regular file or a symbolic link "foo". | |
# If a pattern doesn't end with a slash or a wildcard, it would not match a folder. For example, "foo" can only match regular file "foo" or a symbolic link; while "foo/" and "foo*" match a folder and paths under it. | |
## Example | |
## a regular file | |
#test-file | |
# | |
## a dir | |
#test-dir/ | |
# | |
## wildcard * | |
#test-star1/* | |
#test-star2/*.html | |
# | |
## wildcard ? | |
#test-qu1/?.html | |
#test-qu2/?/ | |
## Version control | |
*.gitignore | |
*.gitmodules | |
.git/ | |
.git-bak/ | |
.git/* | |
.git* | |
*/.git/ | |
*/.git/* | |
*/.githooks/ | |
# */.svn/ | |
## Directories | |
*/_markdown_*/ | |
### Ignoring version control folders | |
# The pattern | |
# ``` | |
# .git/ | |
# ``` | |
# seems to not work properly. | |
# Try with | |
# ``` | |
# .git/* | |
# .git* | |
# */.git/ | |
# ``` | |
# [seafile client syncs .git/ even if listed in seafile-ignore.txt](https://github.com/haiwen/seafile/issues/1137) | |
## Files | |
# LaTeX relateds files | |
*.acn | |
*.acr | |
*.alg | |
*.aux | |
*.auxlock | |
*.bak | |
*.bbl | |
*.bcf | |
*.blg | |
*.dep | |
*.dpth | |
*.fdb_latexmk | |
*.fls | |
*.glo | |
*.glg | |
*.gls | |
*.glsdefs | |
*.idx | |
*.ilg | |
*.ind | |
*.ist | |
*.log | |
*.lof | |
*.lot | |
*.markdown.err | |
*.markdown.in | |
*.markdown.lua | |
*.markdown.out | |
*.md5 | |
*.mw | |
*.nmn | |
*.out | |
*.ptex | |
*.run.xml | |
*.slg | |
*.sls | |
*.slo | |
*.sublime-project | |
*.sublime-workspace | |
*.synctex.gz | |
*.tdo | |
*.toc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment