{"id":26718012,"url":"https://github.com/jordandarlington/git-hooks","last_synced_at":"2026-05-04T06:31:49.839Z","repository":{"id":250335985,"uuid":"834148574","full_name":"jordandarlington/git-hooks","owner":"jordandarlington","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-10T08:59:25.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-11T08:53:31.455Z","etag":null,"topics":["bash","git-hooks"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jordandarlington.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":"2024-07-26T14:19:44.000Z","updated_at":"2024-08-10T08:59:28.000Z","dependencies_parsed_at":"2024-08-10T08:59:30.704Z","dependency_job_id":null,"html_url":"https://github.com/jordandarlington/git-hooks","commit_stats":null,"previous_names":["jordandarlington/git-hooks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordandarlington%2Fgit-hooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordandarlington%2Fgit-hooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordandarlington%2Fgit-hooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jordandarlington%2Fgit-hooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jordandarlington","download_url":"https://codeload.github.com/jordandarlington/git-hooks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245882963,"owners_count":20687967,"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","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":["bash","git-hooks"],"created_at":"2025-03-27T16:34:42.388Z","updated_at":"2026-05-04T06:31:44.818Z","avatar_url":"https://github.com/jordandarlington.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-hooks\n\n[![Contributors][contributors-shield]][contributors-url]\n[![Forks][forks-shield]][forks-url]\n[![Stargazers][stars-shield]][stars-url]\n[![Issues][issues-shield]][issues-url]\n[![MIT License][license-shield]][license-url]\n\n---\n\n## Introduction\n\nThis repo contains a collection of git hooks that can be used to automate certain tasks when working with git.\n\n## Setup\n\nRemove the file extension from the chosen hook and copy it to the `.git/hooks` directory of your project.\n\nEnsure the file is executable by running `chmod +x .git/hooks/\u003chook-name\u003e`.\n\n## Scripts\n\n#### prepare-commit-msg\n\nThis script will prepend the branch name to the commit message.\n\n#### pre-push\n\nThis script will prevent pulling or merging the develop branch into either the main or master branches.\n\n---\n\n## License\n\nThis repo is licensed under an MIT license. A copy of the license is also provided.\n\n[contributors-shield]: https://img.shields.io/github/contributors/jordandarlington/git-hooks.svg?style=for-the-badge\n[contributors-url]: https://github.com/jordandarlington\n[forks-shield]: https://img.shields.io/github/forks/jordandarlington/git-hooks.svg?style=for-the-badge\n[forks-url]: https://github.com/jordandarlington/git-hooks/network/members\n[stars-shield]: https://img.shields.io/github/stars/jordandarlington/git-hooks.svg?style=for-the-badge\n[stars-url]: https://github.com/jordandarlington/git-hooks/stargazers\n[issues-shield]: https://img.shields.io/github/issues/jordandarlington/git-hooks.svg?style=for-the-badge\n[issues-url]: https://github.com/jordandarlington/git-hooks/issues\n[license-shield]: https://img.shields.io/github/license/jordandarlington/git-hooks.svg?style=for-the-badge\n[license-url]: https://github.com/jordandarlington/git-hooks/blob/main/LICENSE","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordandarlington%2Fgit-hooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjordandarlington%2Fgit-hooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjordandarlington%2Fgit-hooks/lists"}