updated .gitignore and seafile-ignore.txt using npm/sysconfig/*-ignore-find2merge.sh

This commit is contained in:
Luk 2024-01-28 12:16:39 +08:00
parent 81436304fa
commit 2b4325a03f
2 changed files with 74 additions and 56 deletions

19
.gitignore vendored
View File

@ -1,12 +1,25 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# how to include another gitignore?
# https://stackoverflow.com/questions/7005142/can-i-include-other-gitignore-file-in-a-gitignore-file-like-include-in-c-li
# https://github.com/github/gitignore
# https://github.com/SlideWave/gitignore-include?tab=readme-ov-file#examples
# https://gitignore.io
### 目录 ################################################################# ### .gitignore_global ###
# Self defined extension to ignore all files/folders containing .gitignore
*.gitignore.*
*.gitignore.*/
*.gitignore
*.gitignore/
!.gitignore
# 通用 # 通用
.svn/ .svn/
.deploy_git/ .deploy_git/
.idea/ .idea/
.sass-cache/ .sass-cache/
.wrangler
/test/unit/coverage/ /test/unit/coverage/
/test/e2e/reports/ /test/e2e/reports/
node_modules/ node_modules/
@ -70,7 +83,6 @@ _desktop.ini
/db.json /db.json
# wo # wo
*.gitignore.*
# 服务端 # 服务端
/_archive/* /_archive/*
/_datastore/* /_datastore/*
@ -86,3 +98,6 @@ pages4loader.json5
# 保留 # 保留
!.gitkeep !.gitkeep
### .gitignore_local ###

View File

@ -1,54 +1,57 @@
# https://help.seafile.com/syncing_client/excluding_files/ # https://help.seafile.com/syncing_client/excluding_files/
# 注释。通配符:* 匹配0到若干个字符包括代表目录的/。? 匹配1个字符包括/。 # 注释。通配符:* 匹配0到若干个字符包括代表目录的/。? 匹配1个字符包括/。
# seafile-ignore.txt 只能控制在客户端需要忽略哪些文件。你依然可以在 seahub 的 web 界面创建这些被客户端忽略的文件。 # seafile-ignore.txt 只能控制在客户端需要忽略哪些文件。你依然可以在 seahub 的 web 界面创建这些被客户端忽略的文件。
# 在这种情况下, # 在这种情况下,
# 这些文件会被同步到客户端,但是用户在客户端对这些文件的后续修改会被忽略,不会被同步回服务器。 # 这些文件会被同步到客户端,但是用户在客户端对这些文件的后续修改会被忽略,不会被同步回服务器。
# 文件在服务器端的后续更改会被同步到客户端,如果客户端也同时修改了这些文件,系统会生成冲突文件。 # 文件在服务器端的后续更改会被同步到客户端,如果客户端也同时修改了这些文件,系统会生成冲突文件。
# seafile-ignore.txt 只能忽略还没有被同步的文件。对于已经被同步的文件,如果后来把它添加到 seafile-ignore.txt 中,系统只会忽略后续更改,已经上传的版本不会受影响。 # seafile-ignore.txt 只能忽略还没有被同步的文件。对于已经被同步的文件,如果后来把它添加到 seafile-ignore.txt 中,系统只会忽略后续更改,已经上传的版本不会受影响。
# 自定义的后缀名,凡有 sfignore 后缀的都不进行同步 ### seafile-ignore_global ###
*.sfignore
*.sfignore.* # 自定义的后缀名,凡有 sfignore 后缀的都不进行同步
*.sfignore/ *.sfignore
*.sfignore.*/ *.sfignore.*
*.sfignore/
.DS_Store *.sfignore.*/
*/.DS_Store
.DS_Store
.thumbnails */.DS_Store
*/.thumbnails
.thumbnails
Thumbs.db */.thumbnails
*/Thumbs.db
thumbs.db Thumbs.db
*/thumbs.db */Thumbs.db
thumbs.db
_desktop.ini */thumbs.db
*/_desktop.ini
_desktop.ini
._* */_desktop.ini
*/._*
._*
.$* */._*
*/.$*
.$*
~$* */.$*
*/~$*
~$*
node_modules/ */~$*
*/node_modules/
package-lock.json node_modules/
*/node_modules/
pages4loader.json5 package-lock.json
.svn/ pages4loader.json5
*/.svn/
.deploy_git/
.deploy_git/ */.deploy_git/
*/.deploy_git/
# HBuilder 目录
unpackage/ unpackage/
*/unpackage/ */unpackage/
Icon Icon
OneDrive/Icon OneDrive/Icon
### seafile-ignore_local ###