modified paragraph every folder in the tree is independently clonable with its ...
deleted heading hierarchical versioning
deleted paragraph when you change a file, commits are created at every ancesto...
deleted paragraph change anton/blog/archive/post.md:
deleted list item commit at archive/
deleted list item commit at blog/
deleted list item commit at anton/ (space root)
deleted paragraph all atomic. each level has a self-contained git history with...
deleted heading clone at any level
inserted heading clone
modified paragraph each clone gets only files and commits relevant to that subt...
inserted heading push
deleted heading creating folders
deleted heading branches
modified list item branches and tags — folder-scoped branches, merging, tags
deleted paragraph create branch draft on anton/blog/archive:
deleted list item visible when you clone anton/blog/archive
deleted list item not visible when you clone anton/blog
deleted paragraph when you merge a scoped branch, the changes cascade up to th...
deleted heading tags
deleted code block git tag v1.0
git push origin v1.0
deleted paragraph lightweight and annotated tags both work. tags are immutable...
inserted heading more
inserted list item hierarchical versioning — how cascade commits work, clone an...
M /docs/undefined +9 -34
8 unmodified lines9git clone https://sublimated.com/{space}/{folder}.git10git clone https://sublimated.com/{space}/{folder}/{subfolder}.git11```12
13every folder in the tree is independently clonable with its own commit history.13every folder in the tree is independently clonable with its own commit history. see [hierarchical versioning](hierarchical.md) for how this works.14
15## hierarchical versioning15## clone16
17when you change a file, commits are created at every ancestor level.18
19change `anton/blog/archive/post.md`:201. commit at `archive/`212. commit at `blog/`223. commit at `anton/` (space root)23
24all atomic. each level has a self-contained git history with only the files under that path.25
26## clone at any level27
17```bash18git clone https://sublimated.com/anton.git # whole space19git clone https://sublimated.com/anton/blog.git # just blog + children20git clone https://sublimated.com/anton/blog/archive.git # just archive21```22
34each clone gets only files and commits relevant to that subtree. no sparse-checkout needed.23each clone gets only files and commits relevant to that subtree. no sparse-checkout needed — real commits exist at every level.24
36## auth25## push26
38use your API token as git credentials:39
40```bash41# in the URL42git clone https://token:sk_abc123@sublimated.com/anton/notes.git43
44# or when prompted45Username: token46Password: sk_abc12347```48
49## creating folders50
27push to a path that doesn't exist yet — sublimated creates it automatically.28
29```bash30mkdir my-project && cd my-project5 unmodified lines36```37
38pushed [markdown](../markdown/) files render automatically when browsed on the web.39
64## branches40## auth41
66branches are scoped to the folder level where they're created.42use your API token as git credentials:43
68create branch `draft` on `anton/blog/archive`:69- visible when you clone `anton/blog/archive`70- not visible when you clone `anton/blog`71
72when you merge a scoped branch, the changes cascade up to the space root on the default branch.73
74## tags75
44```bash77git tag v1.078git push origin v1.045# in the URL46git clone https://token:sk_abc123@sublimated.com/anton/notes.git47
48# or when prompted49Username: token50Password: sk_abc12351```52
81lightweight and annotated tags both work. tags are immutable — updating requires `--force`.82
53## works with everything54
55because it's standard git, your existing tools work:56- any git GUI (Tower, Fork, GitKraken, etc)57- CI/CD pipelines58- `git log`, `git diff`, `git blame`, `git bisect`59- VS Code, JetBrains, Xcode — anything that speaks git60- [Obsidian](../markdown/obsidian.md) vaults, [iA Writer](../markdown/ia-writer.md) libraries — push and browse on the web61
62## more63
64- [hierarchical versioning](hierarchical.md) — how cascade commits work, clone any folder, what this enables65- [branches and tags](branches.md) — folder-scoped branches, merging, tags