{"action":"closed","issue":{"url":"https://api.github.com/repos/github/hub/issues/618","repository_url":"https://api.github.com/repos/github/hub","labels_url":"https://api.github.com/repos/github/hub/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/github/hub/issues/618/comments","events_url":"https://api.github.com/repos/github/hub/issues/618/events","html_url":"https://github.com/github/hub/issues/618","id":42721402,"number":618,"title":"GitHub for Mac style sync?","user":{"login":"AjayMT","id":1331240,"avatar_url":"https://avatars.githubusercontent.com/u/1331240?v=3","gravatar_id":"","url":"https://api.github.com/users/AjayMT","html_url":"https://github.com/AjayMT","followers_url":"https://api.github.com/users/AjayMT/followers","following_url":"https://api.github.com/users/AjayMT/following{/other_user}","gists_url":"https://api.github.com/users/AjayMT/gists{/gist_id}","starred_url":"https://api.github.com/users/AjayMT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AjayMT/subscriptions","organizations_url":"https://api.github.com/users/AjayMT/orgs","repos_url":"https://api.github.com/users/AjayMT/repos","events_url":"https://api.github.com/users/AjayMT/events{/privacy}","received_events_url":"https://api.github.com/users/AjayMT/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/github/hub/labels/feature","name":"feature","color":"1100ff"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2014-09-14T14:13:46Z","updated_at":"2016-09-12T08:07:14Z","closed_at":"2016-09-12T08:07:14Z","body":"Perhaps we could have a `hub sync` command that performs the equivalent of pressing the 'Sync' button in the GitHub for Mac app? I can implement this once I know exactly what the Sync button does. According to the [GitHub for Mac FAQ](https://help.github.com/articles/how-can-i-push-or-pull):\r\n\r\n> We do the equivalent of a git pull --rebase (but make sure to never rewrite merges).\r\n\r\nMaybe `hub sync` can simply do something like `git pull --rebase=preserve`. Or we could wrap `git pull` and add a `--sync` option that does the same thing.\r\n\r\nDoes anyone else think this would be a nice feature to have? Any ideas/thoughts?"}}
{"actor":{"display_login":"mislav"}}