{"action":"created","issue":{"url":"https://api.github.com/repos/pebble/git-deploy/issues/28","repository_url":"https://api.github.com/repos/pebble/git-deploy","labels_url":"https://api.github.com/repos/pebble/git-deploy/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/pebble/git-deploy/issues/28/comments","events_url":"https://api.github.com/repos/pebble/git-deploy/issues/28/events","html_url":"https://github.com/pebble/git-deploy/issues/28","id":139596018,"number":28,"title":"Configure git user.{email,name}","user":{"login":"thepwagner","id":1559510,"avatar_url":"https://avatars.githubusercontent.com/u/1559510?v=3","gravatar_id":"","url":"https://api.github.com/users/thepwagner","html_url":"https://github.com/thepwagner","followers_url":"https://api.github.com/users/thepwagner/followers","following_url":"https://api.github.com/users/thepwagner/following{/other_user}","gists_url":"https://api.github.com/users/thepwagner/gists{/gist_id}","starred_url":"https://api.github.com/users/thepwagner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepwagner/subscriptions","organizations_url":"https://api.github.com/users/thepwagner/orgs","repos_url":"https://api.github.com/users/thepwagner/repos","events_url":"https://api.github.com/users/thepwagner/events{/privacy}","received_events_url":"https://api.github.com/users/thepwagner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-09T14:46:27Z","updated_at":"2016-03-18T11:37:25Z","closed_at":null,"body":"As a git-deploy user,\r\nI want ~/.gitconfig to set name/user,\r\nSo that pulling the hook repo at https://github.com/pebble/git-deploy/blob/master/base-hooks/pre-receive#L31 will perform merges.\r\n\r\n```\r\nremote: Already on 'TARGET_BRANCH'\r\nremote: Your branch and 'origin/TARGET_BRANCH' have diverged,\r\nremote: and have 2 and 34 different commits each, respectively.\r\nremote:   (use \"git pull\" to merge the remote branch into yours)\r\nremote: \r\nremote: *** Please tell me who you are.\r\nremote: \r\nremote: Run\r\nremote: \r\nremote:   git config --global user.email \"you@example.com\"\r\nremote:   git config --global user.name \"Your Name\"\r\nremote: \r\nremote: to set your account's default identity.\r\nremote: Omit --global to set the identity only in this repository.\r\nremote: \r\nremote: fatal: empty ident name (for <git@3fb81a8ff3e7.(none)>) not allowed\r\nremote: Previous HEAD position was 20739d3... TITLE\r\n```"},"comment":{"url":"https://api.github.com/repos/pebble/git-deploy/issues/comments/198318378","html_url":"https://github.com/pebble/git-deploy/issues/28#issuecomment-198318378","issue_url":"https://api.github.com/repos/pebble/git-deploy/issues/28","id":198318378,"user":{"login":"DeviaVir","id":777823,"avatar_url":"https://avatars.githubusercontent.com/u/777823?v=3","gravatar_id":"","url":"https://api.github.com/users/DeviaVir","html_url":"https://github.com/DeviaVir","followers_url":"https://api.github.com/users/DeviaVir/followers","following_url":"https://api.github.com/users/DeviaVir/following{/other_user}","gists_url":"https://api.github.com/users/DeviaVir/gists{/gist_id}","starred_url":"https://api.github.com/users/DeviaVir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeviaVir/subscriptions","organizations_url":"https://api.github.com/users/DeviaVir/orgs","repos_url":"https://api.github.com/users/DeviaVir/repos","events_url":"https://api.github.com/users/DeviaVir/events{/privacy}","received_events_url":"https://api.github.com/users/DeviaVir/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T11:37:25Z","updated_at":"2016-03-18T11:37:25Z","body":"I think a `fetch` + `reset` also provides better compatibility with handling `--force` pushes we do sometimes to rebase commits."}}