webMethods 的 .gitignore

适用于 webMethods 的 14 条忽略规则,可直接复制到您的仓库。

集成平台

webMethods 的完整 .gitignore

# 由 LFGitignore - https://lfgitignore.com 生成
# 创建:2026-10-31 22:51:23 UTC
# 技术:webMethods

### webMethods ###
**/IntegrationServer/datastore/
**/IntegrationServer/db/
**/IntegrationServer/DocumentStore/
**/IntegrationServer/lib/
**/IntegrationServer/logs/
**/IntegrationServer/replicate/
**/IntegrationServer/sdk/
**/IntegrationServer/support/
**/IntegrationServer/update/
**/IntegrationServer/userFtpRoot/
**/IntegrationServer/web/
**/IntegrationServer/WmRepository4/
**/IntegrationServer/XAStore/
**/IntegrationServer/packages/Wm*/

这些 webMethods 规则实际上忽略了什么

以下列出了每个忽略模式及其加入 .gitignore 的原因。

通用

模式 忽略的内容
**/IntegrationServer/datastore/ 通用
**/IntegrationServer/db/ 通用
**/IntegrationServer/DocumentStore/ 通用
**/IntegrationServer/lib/ 通用
**/IntegrationServer/logs/ 通用
**/IntegrationServer/replicate/ 通用
**/IntegrationServer/sdk/ 通用
**/IntegrationServer/support/ 通用
**/IntegrationServer/update/ 通用
**/IntegrationServer/userFtpRoot/ 通用
**/IntegrationServer/web/ 通用
**/IntegrationServer/WmRepository4/ 通用
**/IntegrationServer/XAStore/ 通用
**/IntegrationServer/packages/Wm*/ 通用

如何将此 .gitignore 用于 webMethods

  1. 复制上面的webMethods规则,或者直接下载文件。
  2. 在 Git 仓库根目录创建名为 .gitignore 的文件,并将规则粘贴进去。
  3. 如果其中一些文件已被跟踪,请运行 git rm -r --cached . 然后再次提交 - Git 仅将忽略规则应用于未跟踪的文件。
  4. 提交 .gitignore 以便团队中的每个人都共享相同的规则。