Files
bare-operating-system/packages/bare-os-coreutils/man/pages/git.json
T
Raven Scott f8a0dad897 feat: kernel roadmap wave — bits4, policy v4, Pear/Bare compatibility
- protocol/booter: bits4 handshake, proc surfaces, boot policy v4, telemetry v4
- coreutils: nohup + ensure-man-pages; seed-man-pages fixes for extra pages
- kernel-runner: no static node:module (Pear); bare-module createRequire
- docs: handbook, reference, ADR, compatibility matrix, verify scripts
2026-04-04 02:51:33 -04:00

57 lines
1.3 KiB
JSON

{
"name": "git",
"section": 1,
"title": "Bare OS git front-end (isomorphic-git)",
"synopsis": [
"git [-C dir] <subcommand> [ARGUMENTS...]"
],
"description": "Runs isomorphic-git against the VFS-backed adapter. Remote HTTP(S) uses BARE_OS_GIT_HTTP when set; otherwise Pear bare module fetch.",
"options": [
{
"flag": "-C dir",
"meaning": "Run as if git was started in dir"
}
],
"environment": [
"BARE_OS_GIT_HTTP — optional fetch implementation for remotes",
"GIT_* — standard hints where supported"
],
"keywords": [
"git",
"version control",
"repository",
"clone",
"commit",
"isomorphic-git"
],
"bareOsNotes": "Not a separate /bin script; booter delegates argv[0]=git to git-cli.js.",
"seeAlso": [
{
"name": "bare-os-shell",
"section": 1
}
],
"examples": [
{
"caption": "new repo",
"code": "git init -C ~/myrepo"
},
{
"caption": "status",
"code": "git -C ~/myrepo status"
},
{
"caption": "clone over HTTP (needs remote + fetch)",
"code": "git clone https://example.com/repo.git ~/work/repo"
},
{
"caption": "config local",
"code": "git -C ~/myrepo config user.email \"[email protected]\""
},
{
"caption": "log one line",
"code": "git -C ~/myrepo log --oneline -5"
}
]
}