{"id":23498550,"url":"https://github.com/soulshake/git-templates","last_synced_at":"2026-04-29T17:02:20.632Z","repository":{"id":42399083,"uuid":"81853051","full_name":"soulshake/git-templates","owner":"soulshake","description":"My pre-commit hooks, etc","archived":false,"fork":false,"pushed_at":"2022-07-05T11:55:22.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-01T10:39:26.337Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/soulshake.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-13T17:42:58.000Z","updated_at":"2023-05-25T14:49:57.000Z","dependencies_parsed_at":"2022-09-09T13:00:42.930Z","dependency_job_id":null,"html_url":"https://github.com/soulshake/git-templates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/soulshake/git-templates","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulshake%2Fgit-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulshake%2Fgit-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulshake%2Fgit-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulshake%2Fgit-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soulshake","download_url":"https://codeload.github.com/soulshake/git-templates/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulshake%2Fgit-templates/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32435122,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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"],"created_at":"2024-12-25T05:36:54.565Z","updated_at":"2026-04-29T17:02:20.595Z","avatar_url":"https://github.com/soulshake.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Git hooks\n\nNote: This directory should either be located at `~/.git-templates` or you need to set your [git template directory](https://git-scm.com/docs/git-init#_template_directory).\n\n## Installation\n\n`git clone --recursive git@github.com:soulshake/git-templates.git ~/.git-templates`\n\nTo get these templates in your existing repos, you can delete the repository's `.git/hooks` directory and run `git init` again to pull the new hooks in `~/.git-templates/hooks`.\n\n## Dependencies\n\n- `shellcheck`\n- `shellfmt`\n- `aspell` (your personal whitelist will be located at `~/.git-spell-check`)\n\n## Pre-commit hooks\n\nThis repo contains the following pre-commit hooks:\n\n- Don't allow committing directly to master unless we're the owners of the `origin` repo (hackish check)\n- Run spell check on newly committed lines\n- Run `shellcheck` on new or modified `.sh` files\n- Run `shellfmt` on new or modified `.sh` files\n\n**Note:** You can bypass pre-commit hooks by passing the `-n` (`--no-verify`) to `git commit`.\n\nYou can disable a hook by removing the file from your repository's `.git/hooks/pre-commit.d/` directory or appending any extension other than `.sh`.\n\n## To do\n\n- Interactive prompt to override checks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulshake%2Fgit-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoulshake%2Fgit-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulshake%2Fgit-templates/lists"}