{"id":20630365,"url":"https://github.com/jaedle/test-and-commit-or-revert","last_synced_at":"2026-04-17T16:02:04.984Z","repository":{"id":102153421,"uuid":"594367003","full_name":"jaedle/test-and-commit-or-revert","owner":"jaedle","description":"test \u0026\u0026 commit || revert - cli","archived":false,"fork":false,"pushed_at":"2026-03-30T17:15:56.000Z","size":9183,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T19:16:18.958Z","etag":null,"topics":["testing","testing-tools","tests"],"latest_commit_sha":null,"homepage":"","language":"Go","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/jaedle.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-28T10:25:10.000Z","updated_at":"2026-03-30T17:16:00.000Z","dependencies_parsed_at":"2023-09-26T01:42:20.868Z","dependency_job_id":"bc4a6859-28b8-45d6-a103-1bc50000063d","html_url":"https://github.com/jaedle/test-and-commit-or-revert","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jaedle/test-and-commit-or-revert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaedle%2Ftest-and-commit-or-revert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaedle%2Ftest-and-commit-or-revert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaedle%2Ftest-and-commit-or-revert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaedle%2Ftest-and-commit-or-revert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaedle","download_url":"https://codeload.github.com/jaedle/test-and-commit-or-revert/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaedle%2Ftest-and-commit-or-revert/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31935697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T12:37:54.787Z","status":"ssl_error","status_checked_at":"2026-04-17T12:37:25.095Z","response_time":62,"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":["testing","testing-tools","tests"],"created_at":"2024-11-16T14:07:39.801Z","updated_at":"2026-04-17T16:02:04.944Z","avatar_url":"https://github.com/jaedle.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# test \u0026\u0026 commit || revert - cli\n\nThis is a cli to apply [TCR](https://medium.com/@kentbeck_7670/test-commit-revert-870bbd756864) for your daily work.\n\n## Usage\n\n### Installation through brew\n\n```sh\nbrew tap jaedle/test-and-commit-or-revert\nbrew install test-and-commit-or-revert\n```\n\nYou may use `tcr` afterwards.\n\n### Installation from source\n\n```\ntask intall\n```\n\nThis will:\n\n1. Build the binary\n2. Copy the build binary into `$HOME/bin`.\n\nPlease include `$HOME/bin` into your path configuration.\n\n### Configuration\n\nCreate the file `tcr.json` in the git-repository root.\n\nExample:\n\n```json\n{\n  \"test\": \"go test ./...\"\n}\n```\n\nAttributes:\n\n- `test`: test command to run. Whitespaces within arguments (i.e. `task 'argument with space'`) are **not supported**.\n\n### Run tcr\n\n```sh\ntcr\n```\n\n### Behaviour\n\n| worktree | result of test execution         | effect                               | exit code  | test output |    \n|----------|----------------------------------|--------------------------------------|------------|-------------|\n| clean    | (will not be executed)           | (none)                               | zero       | (none)      |\n| dirty    | tests passed                     | a new commit is created with changes | zero       | swallowed   |\n| dirty    | tests failed                     | worktree is reset to previous commit | non-zero   | shown       |\n| dirty    | test command can not be executed | (none)                               | non-zero   | (none)      |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaedle%2Ftest-and-commit-or-revert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaedle%2Ftest-and-commit-or-revert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaedle%2Ftest-and-commit-or-revert/lists"}