#git #subtree #schema #improved #repository #follow #file

git-stree

用于处理改进的 git subtree 架构的库

4 个版本

0.2.4 2022年10月9日
0.2.3 2022年4月22日
0.2.2 2022年3月6日
0.2.1 2022年1月17日
0.2.0 2022年1月17日

#1363 in 开发工具


用于 glv

LGPL-3.0-or-later

31KB
757 代码行

Git-Stree

用于处理改进的 git subtree 架构的库。

具有其 <prefix><repository> 和要跟踪的目标的子树在 .gitsubtrees 文件中跟踪。每个 .gitsubtrees 文件包含同一目录中跟踪的子树信息。

.gitsubtrees 格式

[example]
      version = 1 ; opional normally, required if no other key specified
      upstream = https://example.com/ORIGINAL/example
      origin = https://example.com/FORKED/example
      follow = master ; some ref or a semver range
      pre-releases = false ; if allow pulling pre-releases

lib.rs:

用于处理改进的 git subtree 架构的库。

具有其 <prefix><repository> 和要跟踪的目标的子树在 .gitsubtrees 文件中跟踪。每个 .gitsubtrees 文件包含同一目录中跟踪的子树信息。

.gitsubtrees 格式

[example]
      version = 1 ; opional normally, required if no other key specified
      upstream = https://example.com/ORIGINAL/example
      origin = https://example.com/FORKED/example
      follow = master ; some ref or a semver range
      pre-releases = false ; if allow pulling pre-releases

依赖关系

~3–4.5MB
~76K SLoC