{"id":15379587,"url":"https://github.com/blond/git-retry","last_synced_at":"2026-04-25T16:33:31.759Z","repository":{"id":81510551,"uuid":"127479841","full_name":"blond/git-retry","owner":"blond","description":":repeat: fault-tolerant git retry wrapper","archived":false,"fork":false,"pushed_at":"2018-04-02T10:26:31.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-27T22:34:22.051Z","etag":null,"topics":["git","retry"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blond.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-30T22:51:23.000Z","updated_at":"2018-04-02T10:26:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f444f633-4f18-420d-849c-973d501d02cb","html_url":"https://github.com/blond/git-retry","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"0db141add0a0227258a6292c2ff4a229678e5b91"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/blond/git-retry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fgit-retry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fgit-retry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fgit-retry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fgit-retry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blond","download_url":"https://codeload.github.com/blond/git-retry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blond%2Fgit-retry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32269458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["git","retry"],"created_at":"2024-10-01T14:19:25.077Z","updated_at":"2026-04-25T16:33:31.744Z","avatar_url":"https://github.com/blond.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"git-retry\n=========\n\n[![NPM Status][npm-img]][npm]\n[![Travis Status][test-img]][travis]\n[![Windows Status][appveyor-img]][appveyor]\n[![Coverage Status][coverage-img]][coveralls]\n[![Dependency Status][david-img]][david]\n\n[npm]:          https://www.npmjs.org/package/git-retry\n[npm-img]:      https://img.shields.io/npm/v/git-retry.svg\n\n[travis]:       https://travis-ci.org/blond/git-retry\n[test-img]:     https://img.shields.io/travis/blond/git-retry/master.svg?label=tests\n\n[appveyor]:     https://ci.appveyor.com/project/blond/git-retry\n[appveyor-img]: https://img.shields.io/appveyor/ci/blond/git-retry/master.svg?label=windows\n\n[coveralls]:    https://coveralls.io/r/blond/git-retry\n[coverage-img]: https://img.shields.io/coveralls/blond/git-retry/master.svg\n\n[david]:        https://david-dm.org/blond/git-retry\n[david-img]:    https://img.shields.io/david/blond/git-retry/master.svg\n\n\n`git-retry` is a bootstrap that wraps a standard git command execution in a fault-tolerant retry wrapper. \n\nIf a retry succeeds, the info of successful attempt is returned. Otherwise, the rejects that occured most frequently. The wrapper is aware of git-specific failure conditions and will only consider retrying if a given failure can be linked to such a condition.\n\nInstall\n-------\n\n```\n$ npm install --save git-retry\n```\n\nUsage\n-----\n\n```js\nconst gitRetry = require('git-retry');\n\ngitRetry('git', ['pull', '--all'], { retries: 5 }, { shell: true })\n    .then(({ stdout, stderr }) =\u003e console.log(`git pulled, see log: ${stdout}`))\n    .catch(() =\u003e console.error('git failed'));\n```\n\nAPI\n---\n\n### gitRetry([bin, ]args[, retryOptions[, execOptions]])\n\nExecutes git command.\n\n#### bin\n\nType: `string`\n\nDefault: `git`\n\nThe name or path of the executable file to run `git`.\n\n#### args\n\nType: `string[]`\n\nArguments of git command.\n\n#### retryOptions\n\nType: `Object`\n\nOptions are passed to the [`retry`](https://github.com/tim-kos/node-retry#retryoperationoptions) module.\n\n#### execOptions\n\nType: `Object`\n\nOptions are passed to the [`execa`](https://github.com/sindresorhus/execa#options) module.\n\nLicense\n-------\n\nMIT © [Andrew Abramov](https://github.com/blond)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblond%2Fgit-retry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblond%2Fgit-retry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblond%2Fgit-retry/lists"}