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

git-stree

Library for working with my improved git subtree schema

4 releases

0.2.4 Oct 9, 2022
0.2.3 Apr 22, 2022
0.2.2 Mar 6, 2022
0.2.1 Jan 17, 2022
0.2.0 Jan 17, 2022

#1306 in Development tools


Used in glv

LGPL-3.0-or-later

31KB
757 lines

Git-Stree

Library for working with my improved git subtree schema.

The subtrees with their <prefix>, <repository> and a target to follow are tracked in .gitsubtrees files. Each .gitsubtrees file contains information about tracked subtrees in the same directory.

.gitsubtrees Format

[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:

Library for working with my improved git subtree schema.

The subtrees with their <prefix>, <repository> and a target to follow are tracked in .gitsubtrees files. Each .gitsubtrees file contains information about tracked subtrees in the same directory.

.gitsubtrees Format

[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

Dependencies

~4–5MB
~93K SLoC