{"action":"created","issue":{"url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/issues/2","repository_url":"https://api.github.com/repos/tikasan/hal_proxy_over_git","labels_url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/issues/2/comments","events_url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/issues/2/events","html_url":"https://github.com/tikasan/hal_proxy_over_git/pull/2","id":196595385,"number":2,"title":".gitconfig にゴミが残ってしまう問題を解決","user":{"login":"Tamrin007","id":10954404,"avatar_url":"https://avatars.githubusercontent.com/u/10954404?v=3","gravatar_id":"","url":"https://api.github.com/users/Tamrin007","html_url":"https://github.com/Tamrin007","followers_url":"https://api.github.com/users/Tamrin007/followers","following_url":"https://api.github.com/users/Tamrin007/following{/other_user}","gists_url":"https://api.github.com/users/Tamrin007/gists{/gist_id}","starred_url":"https://api.github.com/users/Tamrin007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tamrin007/subscriptions","organizations_url":"https://api.github.com/users/Tamrin007/orgs","repos_url":"https://api.github.com/users/Tamrin007/repos","events_url":"https://api.github.com/users/Tamrin007/events{/privacy}","received_events_url":"https://api.github.com/users/Tamrin007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-20T06:22:16Z","updated_at":"2016-12-20T07:59:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/pulls/2","html_url":"https://github.com/tikasan/hal_proxy_over_git/pull/2","diff_url":"https://github.com/tikasan/hal_proxy_over_git/pull/2.diff","patch_url":"https://github.com/tikasan/hal_proxy_over_git/pull/2.patch"},"body":"### 解決したいこと\r\n\r\n現状の記述だと、`git config --global --unset <proxy>` の際、 `.gitconfig` に `[http]` 等が残った状態となってしまう。\r\nこの状態で再度 `git config --global http.proxy <proxy>` を実行すると、前回の `[http]` 等とは別に記述されてしまう。\r\n\r\n### 解決策\r\n\r\n`sed` コマンドで削除する\r\n\r\n### 難点\r\n\r\n他の `[http]` の設定がある場合、困る。"},"comment":{"url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/issues/comments/268179146","html_url":"https://github.com/tikasan/hal_proxy_over_git/pull/2#issuecomment-268179146","issue_url":"https://api.github.com/repos/tikasan/hal_proxy_over_git/issues/2","id":268179146,"user":{"login":"tikasan","id":9821370,"avatar_url":"https://avatars.githubusercontent.com/u/9821370?v=3","gravatar_id":"","url":"https://api.github.com/users/tikasan","html_url":"https://github.com/tikasan","followers_url":"https://api.github.com/users/tikasan/followers","following_url":"https://api.github.com/users/tikasan/following{/other_user}","gists_url":"https://api.github.com/users/tikasan/gists{/gist_id}","starred_url":"https://api.github.com/users/tikasan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tikasan/subscriptions","organizations_url":"https://api.github.com/users/tikasan/orgs","repos_url":"https://api.github.com/users/tikasan/repos","events_url":"https://api.github.com/users/tikasan/events{/privacy}","received_events_url":"https://api.github.com/users/tikasan/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T07:59:52Z","updated_at":"2016-12-20T07:59:52Z","body":"これ誰かに対応してほしかった。イケメンありがと。LGTM"}}
{"actor":{"display_login":"tikasan"}}