{"action":"created","comment":{"url":"https://api.github.com/repos/kintoandar/git-hooks/pulls/comments/65744974","id":65744974,"diff_hunk":"@@ -27,6 +27,13 @@ mkdir -p ~/.git-templates/hooks\n git config --global init.templatedir '~/.git-templates'\n ln -s $(pwd)/pre-commit/github_email_verify.sh ~/.git-templates/hooks/pre-commit\n ```\n+\n+#### Optional\n+To add your github's account email as the default email to use, add the following line to your \\*rc file (~/.bashrc, ~/.zshrc, etc)","path":"README.md","position":6,"original_position":6,"commit_id":"3433adcba3acc51ef867bb5491da41fae2516c44","original_commit_id":"3433adcba3acc51ef867bb5491da41fae2516c44","user":{"login":"kintoandar","id":944205,"avatar_url":"https://avatars.githubusercontent.com/u/944205?v=3","gravatar_id":"","url":"https://api.github.com/users/kintoandar","html_url":"https://github.com/kintoandar","followers_url":"https://api.github.com/users/kintoandar/followers","following_url":"https://api.github.com/users/kintoandar/following{/other_user}","gists_url":"https://api.github.com/users/kintoandar/gists{/gist_id}","starred_url":"https://api.github.com/users/kintoandar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintoandar/subscriptions","organizations_url":"https://api.github.com/users/kintoandar/orgs","repos_url":"https://api.github.com/users/kintoandar/repos","events_url":"https://api.github.com/users/kintoandar/events{/privacy}","received_events_url":"https://api.github.com/users/kintoandar/received_events","type":"User","site_admin":false},"body":"`In order to have your github's email account as the default email to be used, add the following line to your shell startup file (~/.bashrc, ~/.zshrc, etc.).`","created_at":"2016-06-03T17:27:16Z","updated_at":"2016-06-03T17:27:16Z","html_url":"https://github.com/kintoandar/git-hooks/pull/2#discussion_r65744974","pull_request_url":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/kintoandar/git-hooks/pulls/comments/65744974"},"html":{"href":"https://github.com/kintoandar/git-hooks/pull/2#discussion_r65744974"},"pull_request":{"href":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2","id":72535347,"html_url":"https://github.com/kintoandar/git-hooks/pull/2","diff_url":"https://github.com/kintoandar/git-hooks/pull/2.diff","patch_url":"https://github.com/kintoandar/git-hooks/pull/2.patch","issue_url":"https://api.github.com/repos/kintoandar/git-hooks/issues/2","number":2,"state":"open","locked":false,"title":"Force a local email to be set for Github repos","user":{"login":"andreferreirav2","id":2427597,"avatar_url":"https://avatars.githubusercontent.com/u/2427597?v=3","gravatar_id":"","url":"https://api.github.com/users/andreferreirav2","html_url":"https://github.com/andreferreirav2","followers_url":"https://api.github.com/users/andreferreirav2/followers","following_url":"https://api.github.com/users/andreferreirav2/following{/other_user}","gists_url":"https://api.github.com/users/andreferreirav2/gists{/gist_id}","starred_url":"https://api.github.com/users/andreferreirav2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreferreirav2/subscriptions","organizations_url":"https://api.github.com/users/andreferreirav2/orgs","repos_url":"https://api.github.com/users/andreferreirav2/repos","events_url":"https://api.github.com/users/andreferreirav2/events{/privacy}","received_events_url":"https://api.github.com/users/andreferreirav2/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-03T16:37:30Z","updated_at":"2016-06-03T17:27:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1cb014348c3ae185f340dad7cc6659699e785706","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kintoandar/git-hooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kintoandar/git-hooks/issues/2/comments","statuses_url":"https://api.github.com/repos/kintoandar/git-hooks/statuses/3433adcba3acc51ef867bb5491da41fae2516c44","head":{"label":"andreferreirav2:master","ref":"master","sha":"3433adcba3acc51ef867bb5491da41fae2516c44","user":{"login":"andreferreirav2","id":2427597,"avatar_url":"https://avatars.githubusercontent.com/u/2427597?v=3","gravatar_id":"","url":"https://api.github.com/users/andreferreirav2","html_url":"https://github.com/andreferreirav2","followers_url":"https://api.github.com/users/andreferreirav2/followers","following_url":"https://api.github.com/users/andreferreirav2/following{/other_user}","gists_url":"https://api.github.com/users/andreferreirav2/gists{/gist_id}","starred_url":"https://api.github.com/users/andreferreirav2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreferreirav2/subscriptions","organizations_url":"https://api.github.com/users/andreferreirav2/orgs","repos_url":"https://api.github.com/users/andreferreirav2/repos","events_url":"https://api.github.com/users/andreferreirav2/events{/privacy}","received_events_url":"https://api.github.com/users/andreferreirav2/received_events","type":"User","site_admin":false},"repo":{"id":60358187,"name":"git-hooks","full_name":"andreferreirav2/git-hooks","owner":{"login":"andreferreirav2","id":2427597,"avatar_url":"https://avatars.githubusercontent.com/u/2427597?v=3","gravatar_id":"","url":"https://api.github.com/users/andreferreirav2","html_url":"https://github.com/andreferreirav2","followers_url":"https://api.github.com/users/andreferreirav2/followers","following_url":"https://api.github.com/users/andreferreirav2/following{/other_user}","gists_url":"https://api.github.com/users/andreferreirav2/gists{/gist_id}","starred_url":"https://api.github.com/users/andreferreirav2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreferreirav2/subscriptions","organizations_url":"https://api.github.com/users/andreferreirav2/orgs","repos_url":"https://api.github.com/users/andreferreirav2/repos","events_url":"https://api.github.com/users/andreferreirav2/events{/privacy}","received_events_url":"https://api.github.com/users/andreferreirav2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreferreirav2/git-hooks","description":"github_email_verify: Avoid committing to github with your company email","fork":true,"url":"https://api.github.com/repos/andreferreirav2/git-hooks","forks_url":"https://api.github.com/repos/andreferreirav2/git-hooks/forks","keys_url":"https://api.github.com/repos/andreferreirav2/git-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreferreirav2/git-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreferreirav2/git-hooks/teams","hooks_url":"https://api.github.com/repos/andreferreirav2/git-hooks/hooks","issue_events_url":"https://api.github.com/repos/andreferreirav2/git-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/andreferreirav2/git-hooks/events","assignees_url":"https://api.github.com/repos/andreferreirav2/git-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/andreferreirav2/git-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/andreferreirav2/git-hooks/tags","blobs_url":"https://api.github.com/repos/andreferreirav2/git-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreferreirav2/git-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreferreirav2/git-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreferreirav2/git-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreferreirav2/git-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/andreferreirav2/git-hooks/languages","stargazers_url":"https://api.github.com/repos/andreferreirav2/git-hooks/stargazers","contributors_url":"https://api.github.com/repos/andreferreirav2/git-hooks/contributors","subscribers_url":"https://api.github.com/repos/andreferreirav2/git-hooks/subscribers","subscription_url":"https://api.github.com/repos/andreferreirav2/git-hooks/subscription","commits_url":"https://api.github.com/repos/andreferreirav2/git-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreferreirav2/git-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreferreirav2/git-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreferreirav2/git-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreferreirav2/git-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/andreferreirav2/git-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreferreirav2/git-hooks/merges","archive_url":"https://api.github.com/repos/andreferreirav2/git-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreferreirav2/git-hooks/downloads","issues_url":"https://api.github.com/repos/andreferreirav2/git-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/andreferreirav2/git-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/andreferreirav2/git-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/andreferreirav2/git-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreferreirav2/git-hooks/labels{/name}","releases_url":"https://api.github.com/repos/andreferreirav2/git-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/andreferreirav2/git-hooks/deployments","created_at":"2016-06-03T15:27:43Z","updated_at":"2016-06-03T15:27:44Z","pushed_at":"2016-06-03T16:36:20Z","git_url":"git://github.com/andreferreirav2/git-hooks.git","ssh_url":"git@github.com:andreferreirav2/git-hooks.git","clone_url":"https://github.com/andreferreirav2/git-hooks.git","svn_url":"https://github.com/andreferreirav2/git-hooks","homepage":"","size":10,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kintoandar:master","ref":"master","sha":"969e06ea3e4254ad27733077c3de67505c2813e1","user":{"login":"kintoandar","id":944205,"avatar_url":"https://avatars.githubusercontent.com/u/944205?v=3","gravatar_id":"","url":"https://api.github.com/users/kintoandar","html_url":"https://github.com/kintoandar","followers_url":"https://api.github.com/users/kintoandar/followers","following_url":"https://api.github.com/users/kintoandar/following{/other_user}","gists_url":"https://api.github.com/users/kintoandar/gists{/gist_id}","starred_url":"https://api.github.com/users/kintoandar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintoandar/subscriptions","organizations_url":"https://api.github.com/users/kintoandar/orgs","repos_url":"https://api.github.com/users/kintoandar/repos","events_url":"https://api.github.com/users/kintoandar/events{/privacy}","received_events_url":"https://api.github.com/users/kintoandar/received_events","type":"User","site_admin":false},"repo":{"id":46017631,"name":"git-hooks","full_name":"kintoandar/git-hooks","owner":{"login":"kintoandar","id":944205,"avatar_url":"https://avatars.githubusercontent.com/u/944205?v=3","gravatar_id":"","url":"https://api.github.com/users/kintoandar","html_url":"https://github.com/kintoandar","followers_url":"https://api.github.com/users/kintoandar/followers","following_url":"https://api.github.com/users/kintoandar/following{/other_user}","gists_url":"https://api.github.com/users/kintoandar/gists{/gist_id}","starred_url":"https://api.github.com/users/kintoandar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kintoandar/subscriptions","organizations_url":"https://api.github.com/users/kintoandar/orgs","repos_url":"https://api.github.com/users/kintoandar/repos","events_url":"https://api.github.com/users/kintoandar/events{/privacy}","received_events_url":"https://api.github.com/users/kintoandar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kintoandar/git-hooks","description":"github_email_verify: Avoid committing to github with your company email","fork":false,"url":"https://api.github.com/repos/kintoandar/git-hooks","forks_url":"https://api.github.com/repos/kintoandar/git-hooks/forks","keys_url":"https://api.github.com/repos/kintoandar/git-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kintoandar/git-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kintoandar/git-hooks/teams","hooks_url":"https://api.github.com/repos/kintoandar/git-hooks/hooks","issue_events_url":"https://api.github.com/repos/kintoandar/git-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/kintoandar/git-hooks/events","assignees_url":"https://api.github.com/repos/kintoandar/git-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/kintoandar/git-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/kintoandar/git-hooks/tags","blobs_url":"https://api.github.com/repos/kintoandar/git-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kintoandar/git-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kintoandar/git-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/kintoandar/git-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kintoandar/git-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/kintoandar/git-hooks/languages","stargazers_url":"https://api.github.com/repos/kintoandar/git-hooks/stargazers","contributors_url":"https://api.github.com/repos/kintoandar/git-hooks/contributors","subscribers_url":"https://api.github.com/repos/kintoandar/git-hooks/subscribers","subscription_url":"https://api.github.com/repos/kintoandar/git-hooks/subscription","commits_url":"https://api.github.com/repos/kintoandar/git-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/kintoandar/git-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/kintoandar/git-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/kintoandar/git-hooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/kintoandar/git-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/kintoandar/git-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kintoandar/git-hooks/merges","archive_url":"https://api.github.com/repos/kintoandar/git-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kintoandar/git-hooks/downloads","issues_url":"https://api.github.com/repos/kintoandar/git-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/kintoandar/git-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/kintoandar/git-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/kintoandar/git-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kintoandar/git-hooks/labels{/name}","releases_url":"https://api.github.com/repos/kintoandar/git-hooks/releases{/id}","deployments_url":"https://api.github.com/repos/kintoandar/git-hooks/deployments","created_at":"2015-11-11T23:54:02Z","updated_at":"2016-06-02T15:38:53Z","pushed_at":"2016-06-03T16:37:30Z","git_url":"git://github.com/kintoandar/git-hooks.git","ssh_url":"git@github.com:kintoandar/git-hooks.git","clone_url":"https://github.com/kintoandar/git-hooks.git","svn_url":"https://github.com/kintoandar/git-hooks","homepage":"","size":9,"stargazers_count":17,"watchers_count":17,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2"},"html":{"href":"https://github.com/kintoandar/git-hooks/pull/2"},"issue":{"href":"https://api.github.com/repos/kintoandar/git-hooks/issues/2"},"comments":{"href":"https://api.github.com/repos/kintoandar/git-hooks/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kintoandar/git-hooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kintoandar/git-hooks/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kintoandar/git-hooks/statuses/3433adcba3acc51ef867bb5491da41fae2516c44"}}}}
{"actor":{"display_login":"kintoandar"}}