{"action":"closed","issue":{"url":"https://api.github.com/repos/juizmill/git-hooks/issues/1","repository_url":"https://api.github.com/repos/juizmill/git-hooks","labels_url":"https://api.github.com/repos/juizmill/git-hooks/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/juizmill/git-hooks/issues/1/comments","events_url":"https://api.github.com/repos/juizmill/git-hooks/issues/1/events","html_url":"https://github.com/juizmill/git-hooks/issues/1","id":162513254,"number":1,"title":"Mudar o hook para pre-receive","user":{"login":"juizmill","id":1959742,"avatar_url":"https://avatars.githubusercontent.com/u/1959742?v=3","gravatar_id":"","url":"https://api.github.com/users/juizmill","html_url":"https://github.com/juizmill","followers_url":"https://api.github.com/users/juizmill/followers","following_url":"https://api.github.com/users/juizmill/following{/other_user}","gists_url":"https://api.github.com/users/juizmill/gists{/gist_id}","starred_url":"https://api.github.com/users/juizmill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juizmill/subscriptions","organizations_url":"https://api.github.com/users/juizmill/orgs","repos_url":"https://api.github.com/users/juizmill/repos","events_url":"https://api.github.com/users/juizmill/events{/privacy}","received_events_url":"https://api.github.com/users/juizmill/received_events","type":"User","site_admin":false},"labels":[{"id":245462929,"url":"https://api.github.com/repos/juizmill/git-hooks/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-27T18:10:12Z","updated_at":"2016-11-21T19:43:57Z","closed_at":"2016-11-21T19:43:57Z","body":"Acho que seria melhor se usasse o sistema com **pre-receive** invés de **pre-commit**, vamos imaginar um caso que tenha um desenvolvedor que gosta muito de fazer commits, a cada commit o sistema entra em ação e verifica todo o código, seria melhor se deixasse esta verificação antes de fazer o envio do código para o repositório remoto, ou seja, usando o **pre-receive**.\n\nO link abaixo mostra a DOC deste hook\n\nhttps://git-scm.com/book/pt-br/v1/Customizando-o-Git-Hooks-do-Git#Hooks-do-Lado-Servidor\n"}}
{"actor":{"display_login":"juizmill"}}