{"id":26673669,"url":"https://github.com/networm/git-check-useless-merge","last_synced_at":"2026-05-01T10:32:10.786Z","repository":{"id":139107028,"uuid":"84653667","full_name":"networm/git-check-useless-merge","owner":"networm","description":"Deny push if first parent of last merge commit is not remote branch.","archived":false,"fork":false,"pushed_at":"2017-03-11T13:59:38.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T01:37:36.986Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/networm.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":"2017-03-11T13:56:49.000Z","updated_at":"2017-03-11T14:00:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"df998ecd-cf60-4bc5-8561-4a12d46e022c","html_url":"https://github.com/networm/git-check-useless-merge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/networm/git-check-useless-merge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networm%2Fgit-check-useless-merge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networm%2Fgit-check-useless-merge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networm%2Fgit-check-useless-merge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networm%2Fgit-check-useless-merge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/networm","download_url":"https://codeload.github.com/networm/git-check-useless-merge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/networm%2Fgit-check-useless-merge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["git"],"created_at":"2025-03-26T01:37:15.066Z","updated_at":"2026-05-01T10:32:10.778Z","avatar_url":"https://github.com/networm.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git check useless merge\n\nDeny push if first parent of last merge commit is not remote branch.\n\nTo preserve a clean git history.\n\n## Usage\n\n```\ncp update /path/to/repository/.git/hooks\nchmod +x /path/to/repository/.git/hooks/update\n```\n\n## Environment\n\n- Git\n- Ruby\n\n## Reference\n\n- [Git - An Example Git-Enforced Policy](https://git-scm.com/book/en/v2/Customizing-Git-An-Example-Git-Enforced-Policy)\n- [git push - Git receive/update hooks and new branches - Stack Overflow](http://stackoverflow.com/questions/3511057/git-receive-update-hooks-and-new-branches)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworm%2Fgit-check-useless-merge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetworm%2Fgit-check-useless-merge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetworm%2Fgit-check-useless-merge/lists"}