{ "name": "git", "section": 1, "title": "Bare OS git front-end (isomorphic-git)", "synopsis": [ "git [-C dir] [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 \"you@example.com\"" }, { "caption": "log one line", "code": "git -C ~/myrepo log --oneline -5" } ] }