{"action":"created","issue":{"url":"https://api.github.com/repos/typicode/husky/issues/97","repository_url":"https://api.github.com/repos/typicode/husky","labels_url":"https://api.github.com/repos/typicode/husky/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/typicode/husky/issues/97/comments","events_url":"https://api.github.com/repos/typicode/husky/issues/97/events","html_url":"https://github.com/typicode/husky/issues/97","id":205584952,"number":97,"title":"any documentation on how to update commit-msg?","user":{"login":"Thatkookooguy","id":10427304,"avatar_url":"https://avatars.githubusercontent.com/u/10427304?v=3","gravatar_id":"","url":"https://api.github.com/users/Thatkookooguy","html_url":"https://github.com/Thatkookooguy","followers_url":"https://api.github.com/users/Thatkookooguy/followers","following_url":"https://api.github.com/users/Thatkookooguy/following{/other_user}","gists_url":"https://api.github.com/users/Thatkookooguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Thatkookooguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thatkookooguy/subscriptions","organizations_url":"https://api.github.com/users/Thatkookooguy/orgs","repos_url":"https://api.github.com/users/Thatkookooguy/repos","events_url":"https://api.github.com/users/Thatkookooguy/events{/privacy}","received_events_url":"https://api.github.com/users/Thatkookooguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-06T13:35:34Z","updated_at":"2017-02-06T19:47:08Z","closed_at":null,"body":"I want to create a hook to add a line at the end of the commit message.\r\n\r\nso, if a user wrote:\r\n```\r\nchange files\r\n```\r\n\r\nI want the commit to change to\r\n```\r\nchange files\r\n\r\n-something I added\r\n```\r\n\r\nI see in [the hooks support page](https://github.com/typicode/husky/blob/master/HOOKS.md) that `husky` does support this event, but I can't seem to find how to change the commit message.\r\nMost cases I found online just validate the commit message and don't edit it.\r\n\r\nis it possible?\r\n\r\nAlso, can't seem to see a URL to documentation anywhere. If there is any, can you please give me a link to it?\r\n\r\nthanks!"},"comment":{"url":"https://api.github.com/repos/typicode/husky/issues/comments/277791557","html_url":"https://github.com/typicode/husky/issues/97#issuecomment-277791557","issue_url":"https://api.github.com/repos/typicode/husky/issues/97","id":277791557,"user":{"login":"iamstarkov","id":559321,"avatar_url":"https://avatars.githubusercontent.com/u/559321?v=3","gravatar_id":"","url":"https://api.github.com/users/iamstarkov","html_url":"https://github.com/iamstarkov","followers_url":"https://api.github.com/users/iamstarkov/followers","following_url":"https://api.github.com/users/iamstarkov/following{/other_user}","gists_url":"https://api.github.com/users/iamstarkov/gists{/gist_id}","starred_url":"https://api.github.com/users/iamstarkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamstarkov/subscriptions","organizations_url":"https://api.github.com/users/iamstarkov/orgs","repos_url":"https://api.github.com/users/iamstarkov/repos","events_url":"https://api.github.com/users/iamstarkov/events{/privacy}","received_events_url":"https://api.github.com/users/iamstarkov/received_events","type":"User","site_admin":false},"created_at":"2017-02-06T19:47:08Z","updated_at":"2017-02-06T19:47:08Z","body":"Have you tried asking on StackOverflow? By the way, git has examples for all hook: take a look https://github.com/git/git/blob/master/templates/hooks--commit-msg.sample\r\n\r\nI wanted to note that the only husky's responsibility is to invoke hooks, not actual hooks implementation."}}
{"actor":{"display_login":"iamstarkov"}}