{"id":13697758,"url":"https://github.com/sbimochan/smart-commit","last_synced_at":"2026-02-25T17:40:00.085Z","repository":{"id":53135045,"uuid":"164825133","full_name":"sbimochan/smart-commit","owner":"sbimochan","description":"Commit with current branch name.","archived":false,"fork":false,"pushed_at":"2024-11-04T14:48:58.000Z","size":321,"stargazers_count":94,"open_issues_count":1,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T02:06:52.950Z","etag":null,"topics":["git","git-commit","git-hooks","hacktoberfest","shell","smart"],"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/sbimochan.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":"2019-01-09T08:51:31.000Z","updated_at":"2025-01-06T15:36:05.000Z","dependencies_parsed_at":"2024-11-11T04:46:54.328Z","dependency_job_id":"172bb2c2-0a06-407a-84fb-f4b808695853","html_url":"https://github.com/sbimochan/smart-commit","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fsmart-commit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fsmart-commit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fsmart-commit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbimochan%2Fsmart-commit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbimochan","download_url":"https://codeload.github.com/sbimochan/smart-commit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247427006,"owners_count":20937201,"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":["git","git-commit","git-hooks","hacktoberfest","shell","smart"],"created_at":"2024-08-02T18:01:02.422Z","updated_at":"2026-02-25T17:39:55.053Z","avatar_url":"https://github.com/sbimochan.png","language":"Shell","readme":"![smart commit logo](assets/logo.svg)\n\n# Smart Commit\n\nCreate a commit prefixed with the current branch name.\n\n[![Bats Tests](https://github.com/sbimochan/smart-commit/actions/workflows/bats-tests.yml/badge.svg)](https://github.com/sbimochan/smart-commit/actions/workflows/bats-tests.yml)\n\n[Story](https://www.lftechnology.com/blog/git-workflow-smart-commit/) behind Smart Commit. :zap:\n\n\n## Installation\n\nRun this command on terminal.\n\n```shell\nsudo curl https://raw.githubusercontent.com/sbimochan/smart-commit/main/commit -o /usr/local/bin/commit \u0026\u0026 sudo chmod +x /usr/local/bin/commit\n```\n\n## Usage\n\n* If your current branch name is `EF-803`\n\n  ```shell\n  $ commit \"New feature\"\n\n  # translates to\n  git commit -m \"EF-803: New feature\"\n  ```\n\n* If your current branch is either of `dev`, `uat`, `qa`, `staging` or `master`\n\n  ```shell\n  $ commit \"New feature\"\n\n  # translates to\n  git commit -m \"New feature\"\n  ```\n\n  ![Smart Commit Preview](assets/smart-commit-preview.gif)\n\n## Skip Branches\n\nTo add a custom branch that you would like to skip, create a `.smart-commit-ignore` file in your top level directory. A `.smart-commit-ignore` file looks like [this](https://github.com/sbimochan/smart-commit/blob/main/.smart-commit-ignore).\n\nAdditionally, you might want to add `.smart-commit-ignore` to your `.gitignore` file.\n\n\n## Running Tests:\n\nInstall Bats if not already installed\n\n```\nsudo apt-get install bats  # For Debian-based systems\n# or\nbrew install bats-core      # For macOS\n```\n\nRun tests\n\n```\nbats tests.bats\n```\n\n## Contributors\n\n1. [Aviskar KC](https://github.com/aviskarkc10)\n2. [Robus Gauli](https://github.com/RobusGauli)\n3. [Saroj Shahi](http://sarojshahi.com.np/)\n4. [Saugat Acharya](https://github.com/mesaugat)\n\n## License\n\n[MIT](LICENSE)\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbimochan%2Fsmart-commit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbimochan%2Fsmart-commit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbimochan%2Fsmart-commit/lists"}