improve gitignore and seafile-ignore

This commit is contained in:
Luk 2024-04-24 14:18:32 +08:00
parent 2b97caa457
commit 965e0cf540
2 changed files with 30 additions and 13 deletions

26
.gitignore vendored
View File

@ -5,14 +5,21 @@
# https://github.com/SlideWave/gitignore-include?tab=readme-ov-file#examples
# https://gitignore.io
### .gitignore_global ###
### .gitignore.global.txt ###
# Self defined extension to ignore all files/folders containing .gitignore
*.gitignore.*
*.gitignore.*/
*.gitignore
*.gitignore/
# Self defined pattern to ignore
?*.gitignore
?*.gitignore/
?*.gitignore.*
?*.gitignore.*/
*.gitomit
*.gitomit/
*.gitomit.*
*.gitomit.*/
# 保留
!.gitignore
!.gitignore.*
!.gitkeep
# 通用
.svn/
@ -23,7 +30,9 @@
/test/unit/coverage/
/test/e2e/reports/
node_modules/
*.aab
*.apk
*.ipa
*.min.js
*.min.css
*.min.html
@ -96,8 +105,5 @@ _desktop.ini
package-lock.json
pages4loader.json5
# 保留
!.gitkeep
### .gitignore_local ###
### .gitignore.local.txt ###

View File

@ -6,13 +6,17 @@
# 文件在服务器端的后续更改会被同步到客户端,如果客户端也同时修改了这些文件,系统会生成冲突文件。
# seafile-ignore.txt 只能忽略还没有被同步的文件。对于已经被同步的文件,如果后来把它添加到 seafile-ignore.txt 中,系统只会忽略后续更改,已经上传的版本不会受影响。
### seafile-ignore_global ###
### seafile-ignore.global.txt ###
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
*.sfignore
*.sfignore.*
*.sfignore/
*.sfignore.*
*.sfignore.*/
*.sfomit
*.sfomit.*
*.sfomit/
*.sfomit.*/
.DS_Store
*/.DS_Store
@ -53,5 +57,12 @@ unpackage/
Icon
OneDrive/Icon
### seafile-ignore_local ###
# wrangler project
.dev.vars*
*/.dev.vars*
.wrangler/
*/.wrangler/
### seafile-ignore.local.txt ###