{"id":21530190,"url":"https://github.com/yogeshnikam671/commit_with_prefix","last_synced_at":"2025-08-02T02:40:30.013Z","repository":{"id":120242523,"uuid":"607686470","full_name":"yogeshnikam671/commit_with_prefix","owner":"yogeshnikam671","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-22T10:08:36.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T06:23:08.046Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/yogeshnikam671.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-02-28T13:30:47.000Z","updated_at":"2023-03-01T05:01:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"66b760ed-c9b4-4df0-820c-2cd88ee5376b","html_url":"https://github.com/yogeshnikam671/commit_with_prefix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshnikam671%2Fcommit_with_prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshnikam671%2Fcommit_with_prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshnikam671%2Fcommit_with_prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yogeshnikam671%2Fcommit_with_prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yogeshnikam671","download_url":"https://codeload.github.com/yogeshnikam671/commit_with_prefix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244094272,"owners_count":20397020,"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":[],"created_at":"2024-11-24T02:00:32.152Z","updated_at":"2025-03-17T19:17:24.771Z","avatar_url":"https://github.com/yogeshnikam671.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commit with prefix\n\n## Simple CLI tool built for personal use\n\n### Motivation :\nIn my current work assignment, there is a practice to add a certain prefix in the commit message based on the feature that we are working on.\nThis prefix is then used to track the work around that feature.\n\nIf we put a wrong prefix in the commit message then it won't be able to track that commit for that specific feature.\n\nI tended to mess up this prefix a couple of times. And hence decided to build this tool to rectify that.\n\n### Installation :\nThis tool can be installed using `npm i -g cwsn`\n\n`cwsn` stands for `commit with story number`\n\n### Usage :\nThere are four flags - `-i`, `-v`, `-m`\n\n`cwsn -i \u003cprefix\u003e` : This will instantiate the commit prefix.\n\n`cwsn -v` : This will show the currently set commit prefix.\n\n`cwsn -m \u003cmessage_without_prefix\u003e` : This will commit the message along with the prefix automatically.\n\n`cwsn -h` : This will show how this tool can be used.\n\n### Common problem\nIf the command does not work due to the error `node not found`, follow the below steps:\n1. Run the command `which node` to find the current node executable path in your machine.\n2. Then run the command `cp \u003ccurrent_path\u003e /usr/local/bin/node`\n\nThis will resolve the problem being faced.\n\n### Considerations :\nThe prefix message has to be initialised again on machine startup as it will be lost when the machine is shut down.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogeshnikam671%2Fcommit_with_prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyogeshnikam671%2Fcommit_with_prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyogeshnikam671%2Fcommit_with_prefix/lists"}