{"id":28917991,"url":"https://github.com/captainhook-git/examples-bin","last_synced_at":"2026-02-13T18:33:52.162Z","repository":{"id":208144286,"uuid":"720883198","full_name":"captainhook-git/examples-bin","owner":"captainhook-git","description":"Repository with lots of example branches to demo the CaptainHook functionality","archived":false,"fork":false,"pushed_at":"2023-11-21T08:09:11.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-11T04:04:49.249Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/captainhook-git.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":"2023-11-19T21:54:58.000Z","updated_at":"2025-04-07T10:29:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b99e853-30ef-4d3c-bfb4-076c08c182fa","html_url":"https://github.com/captainhook-git/examples-bin","commit_stats":null,"previous_names":["captainhook-go/examples","captainhook-git/examples-bin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/captainhook-git/examples-bin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainhook-git%2Fexamples-bin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainhook-git%2Fexamples-bin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainhook-git%2Fexamples-bin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainhook-git%2Fexamples-bin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/captainhook-git","download_url":"https://codeload.github.com/captainhook-git/examples-bin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/captainhook-git%2Fexamples-bin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29414279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T06:24:03.484Z","status":"ssl_error","status_checked_at":"2026-02-13T06:23:12.830Z","response_time":78,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-06-22T01:03:16.287Z","updated_at":"2026-02-13T18:33:52.146Z","avatar_url":"https://github.com/captainhook-git.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CaptainHook Examples\n\nRepository with lots of example branches to demo the CaptainHook functionality. Clone the repository and then activate the\nCaptain.\n\n```\n$ git clone git@github.com:captainhook-go/examples.git \u0026 cd examples\n$ captainhook install -f\n```\n\n\n- [git-notify notifications](#git-notify-functionality)\n- [inject issue key from branch](#inject-issue-key-from-branch)\n- [block fixup and squash commits](#block-fixup-and-squash-commit-from-being-pushed)\n\n\n## git-notify functionality\nCheckout the first branch.\n```\n$ git switch action/git-notify-checkout-first\n```\nIf you update your working directory with `merge`, `rebase`, `checkout` and any commit contains `git-notify:` followed by a message the message will be displayed.\n```\n$ git switch action/git-notify-checkout-second\n```\n\n## inject issue key from branch\n\nCheckout the demo branch.\n```\n$ git switch action/inject-key-from-branch-PROJ-12345\n```\nAdd a new file, and commit it to the repository\n```\n$ touch demo\n$ git add demo\n$ git commit\n```\nYour editor should already contain the `PROJ-12345` issue key extracted from the branch name.\n\n## block fixup! and squash! commit from being pushed\n\nStart by checking out the starting branch.\n```\n$ git switch action/prevent-push-fixup+squash\n```\nMerge a prepared fixup! commit.\n```\n$ git merge action/prevent-push-fixup+squash-fix\n```\nIf you try to push the changes the push should fail.\n```\n$ git push\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainhook-git%2Fexamples-bin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcaptainhook-git%2Fexamples-bin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcaptainhook-git%2Fexamples-bin/lists"}