{"id":17482784,"url":"https://github.com/creationix/jsgit","last_synced_at":"2025-07-25T06:06:01.053Z","repository":{"id":57283179,"uuid":"10268112","full_name":"creationix/jsgit","owner":"creationix","description":"A command-line git client powered by js-git and node.js","archived":false,"fork":false,"pushed_at":"2013-10-04T18:12:38.000Z","size":302,"stargazers_count":113,"open_issues_count":4,"forks_count":15,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-09T15:03:18.448Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/creationix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-05-24T14:26:56.000Z","updated_at":"2025-02-04T08:44:27.000Z","dependencies_parsed_at":"2022-09-17T12:51:02.599Z","dependency_job_id":null,"html_url":"https://github.com/creationix/jsgit","commit_stats":null,"previous_names":["creationix/js-git-node"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/creationix/jsgit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fjsgit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fjsgit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fjsgit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fjsgit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creationix","download_url":"https://codeload.github.com/creationix/jsgit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creationix%2Fjsgit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266963279,"owners_count":24013020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-18T23:44:28.285Z","updated_at":"2025-07-25T06:06:01.003Z","avatar_url":"https://github.com/creationix.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jsgit\n=====\n\nA command-line git client powered by js-git and node.js\n\n## Install\n\n```sh\n\u003e npm install -g jsgit\n```\n\n## Usage\n\n```sh\n\u003e jsgit\n\n  Usage: jsgit [options] [command]\n\n  Commands:\n\n    ls-remote \u003curl\u003e        List remote refs\n    fetch \u003curl\u003e            Clone or fetch updates from remote\n    log                    Show local history\n    export \u003ctarget\u003e        Export tree at HEAD as real files to target\n    help [cmd]             display help for [cmd]\n\n  Options:\n\n    -h, --help     output usage information\n    -V, --version  output the version number\n\n\u003e jsgit fetch\n\n  Usage: jsgit-fetch [options] [--] \u003curl\u003e [\u003cdir\u003e]\n\n  Options:\n\n    -h, --help              output usage information\n    --ref \u003cbranch/tag/ref\u003e  checkout to specefic branch, tag, or ref\n    --depth \u003cnum\u003e           do a shallow clone with num commits deep\n    -q                      Be quiet; don't show progress\n\n```\n\n## Examples\n\n```sh\n\u003e jsgit fetch git://github.com/creationix/conquest.git\nCloning git://github.com/creationix/conquest.git to conquest.git..\nCounting objects: 79, done.\nCompressing objects: 100% (47/47), done.\nTotal 79 (delta 27), reused 78 (delta 26)\nReceiving objects: 100% (79/79)   \nDone.\n\n\u003e cd conquest.git/\n\u003e jsgit log --tree\n\ncommit 39a63c86fed320e06c84af7cf311c38f4395ff00\nAuthor: Tim Caswell \u003ctim@creationix.com\u003e\nDate:   Mon May 27 2013 23:00:53 GMT-0500 (CDT)\n\n    Add circle icon for web store\n\n d18604c02d4df748cf06acb6abaf2064bd104296 /\n 38f211d3325f524b74ef076c3569a57b92dbda57 /.gitignore\n 461a5bdb83746a7e3f8449bc009574b92f6e6dd0 /README.markdown\n 8a48e7ace978047bfff982a4e2aca2f502acaa71 /appinfo.json\n b3f8efa73bfac690b386a7f92c9d54eb6b40f359 /art/\n bfb6fa0366ea59ca843dc9d3844aaf7643263bb4 /art/blue-city.png\n be214fdaf6198c06a9e3466b0809aa000833677b /art/brown-city.png\n d617c591eb9ed1f54c3c2f05104a7892b724e7b7 /art/green-city.png\n b68f6e5ddf596b547e384cd835d41363878c7328 /art/orange-city.png\n 95aa7ef53aed85e7a5ad01057b6c596b31a5a3c3 /art/purple-city.png\n cdb284aaf2b4cdc36c18bee25029fd0d1f8fffeb /art/red-city.png\n d06cb71c7089788493146cbd14b8abe87a14e48f /art/sprites.png\n 66efaa250e2f00e4292958d268004e7b9e62ec72 /art/style.css\n 18c9b8b91046d12cfe5fd781482fcb4ede51c472 /art/yellow-city.png\n 8b017f72578016c876de8e95265af2657b6a400c /background.js\n 28555e7055d7fa6184865bd3bab090621cf14cc5 /client.js\n ad157cf510e280ccfb7af63955c5a9eb5a4dfd53 /icons/\n...\n```\n\n## Debugging\n\nIf something goes wrong, file an issue.  If the issue has to do with command-line option parsing, file it here, but it it's an issue with actual features (like a failed clone), file it against the main [js-git][] repo.\n\nPlease include what version of node you're using, what OS, and debug trace output by using the `TRACE=1` prefix.\n\n```js\n\u003e TRACE=1 jsgit fetch git://github.com/creationix/conquest.git\n```\n\n[js-git]: https://github.com/creationix/js-git/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreationix%2Fjsgit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreationix%2Fjsgit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreationix%2Fjsgit/lists"}