diff --git a/docs/git.html b/docs/git.html index e5a461b9..a92bbe6e 100644 --- a/docs/git.html +++ b/docs/git.html @@ -327,10 +327,18 @@ *.png binary *.jpg binary -

计入存储库语言

+

计入存储库语言

# 标记或取消标记要根据存储库的语言统计数据而
 # 忽略或默认隐藏差异的路径
 search/index.json linguist-generated=true
+# 以下属性统计 SQL 文件
+*.sql linguist-detectable=true
+# 从统计信息中排除
+docs/formatter.rb linguist-documentation=false
+# 将它们从统计信息中排除
+special-vendored-path/* linguist-vendored
+# 将所有 .rb 文件检测为 Java 文件
+*.rb linguist-language=Java
 

Git 技巧

重命名分支

diff --git a/index.html b/index.html index 31675377..c93ee556 100644 --- a/index.html +++ b/index.html @@ -754,7 +754,7 @@

如果你有资源,可以很方便部署 web 版,这非常简单,只需要克隆 gh-pages 分支代码到你的静态服务就可以了,还可以使用 docker 快捷部署 web 版。

-
+