{"action":"created","issue":{"url":"https://api.github.com/repos/Growstuff/growstuff/issues/1013","repository_url":"https://api.github.com/repos/Growstuff/growstuff","labels_url":"https://api.github.com/repos/Growstuff/growstuff/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/Growstuff/growstuff/issues/1013/comments","events_url":"https://api.github.com/repos/Growstuff/growstuff/issues/1013/events","html_url":"https://github.com/Growstuff/growstuff/pull/1013","id":161466075,"number":1013,"title":"WIP Code cleanup","user":{"login":"maco","id":401264,"avatar_url":"https://avatars.githubusercontent.com/u/401264?v=3","gravatar_id":"","url":"https://api.github.com/users/maco","html_url":"https://github.com/maco","followers_url":"https://api.github.com/users/maco/followers","following_url":"https://api.github.com/users/maco/following{/other_user}","gists_url":"https://api.github.com/users/maco/gists{/gist_id}","starred_url":"https://api.github.com/users/maco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maco/subscriptions","organizations_url":"https://api.github.com/users/maco/orgs","repos_url":"https://api.github.com/users/maco/repos","events_url":"https://api.github.com/users/maco/events{/privacy}","received_events_url":"https://api.github.com/users/maco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Growstuff/growstuff/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/Growstuff/growstuff/labels/status:%20untriaged","name":"status: untriaged","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-06-21T15:21:41Z","updated_at":"2016-06-22T01:08:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Growstuff/growstuff/pulls/1013","html_url":"https://github.com/Growstuff/growstuff/pull/1013","diff_url":"https://github.com/Growstuff/growstuff/pull/1013.diff","patch_url":"https://github.com/Growstuff/growstuff/pull/1013.patch"},"body":"(based on #984 )"},"comment":{"url":"https://api.github.com/repos/Growstuff/growstuff/issues/comments/227616628","html_url":"https://github.com/Growstuff/growstuff/pull/1013#issuecomment-227616628","issue_url":"https://api.github.com/repos/Growstuff/growstuff/issues/1013","id":227616628,"user":{"login":"CloCkWeRX","id":365751,"avatar_url":"https://avatars.githubusercontent.com/u/365751?v=3","gravatar_id":"","url":"https://api.github.com/users/CloCkWeRX","html_url":"https://github.com/CloCkWeRX","followers_url":"https://api.github.com/users/CloCkWeRX/followers","following_url":"https://api.github.com/users/CloCkWeRX/following{/other_user}","gists_url":"https://api.github.com/users/CloCkWeRX/gists{/gist_id}","starred_url":"https://api.github.com/users/CloCkWeRX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloCkWeRX/subscriptions","organizations_url":"https://api.github.com/users/CloCkWeRX/orgs","repos_url":"https://api.github.com/users/CloCkWeRX/repos","events_url":"https://api.github.com/users/CloCkWeRX/events{/privacy}","received_events_url":"https://api.github.com/users/CloCkWeRX/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T01:08:18Z","updated_at":"2016-06-22T01:08:18Z","body":"Ah, it's very easy!\r\n\r\nIt basically is a clever copy/paste of an entire commit. Unlike a merge, it cuts out just that change.\r\n\r\nTry this:\r\n\r\n```\r\n$ git checkout dev\r\n$ git checkout -b code_cleanup2_electric_boogaloo\r\n$ git cherry-pick b50127c \r\n$ git cherry-pick 61afcd4\r\n$ git cherry-pick 8fe1c17\r\n$ git cherry-pick d5fbbad\r\n$ git push origin code_cleanup2_electric_boogaloo\r\n```\r\n\r\nAnother way that can be useful to ensure you get clean feature branches:\r\n```\r\n$ git remote add upstream git@github.com:Growstuff/growstuff.git\r\n```\r\nthen you can just do\r\n```\r\ngit fetch upstream\r\ngit checkout upstream/dev\r\ngit checkout -b my_new_feature_branch\r\n```\r\n"}}
{"actor":{"display_login":"CloCkWeRX"}}