{"action":"closed","issue":{"url":"https://api.github.com/repos/fishin/bobber/issues/7","labels_url":"https://api.github.com/repos/fishin/bobber/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/fishin/bobber/issues/7/comments","events_url":"https://api.github.com/repos/fishin/bobber/issues/7/events","html_url":"https://github.com/fishin/bobber/issues/7","id":52900084,"number":7,"title":"make git pull smarter","user":{"login":"lloydbenson","id":1459257,"avatar_url":"https://avatars.githubusercontent.com/u/1459257?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydbenson","html_url":"https://github.com/lloydbenson","followers_url":"https://api.github.com/users/lloydbenson/followers","following_url":"https://api.github.com/users/lloydbenson/following{/other_user}","gists_url":"https://api.github.com/users/lloydbenson/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydbenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydbenson/subscriptions","organizations_url":"https://api.github.com/users/lloydbenson/orgs","repos_url":"https://api.github.com/users/lloydbenson/repos","events_url":"https://api.github.com/users/lloydbenson/events{/privacy}","received_events_url":"https://api.github.com/users/lloydbenson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"lloydbenson","id":1459257,"avatar_url":"https://avatars.githubusercontent.com/u/1459257?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydbenson","html_url":"https://github.com/lloydbenson","followers_url":"https://api.github.com/users/lloydbenson/followers","following_url":"https://api.github.com/users/lloydbenson/following{/other_user}","gists_url":"https://api.github.com/users/lloydbenson/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydbenson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydbenson/subscriptions","organizations_url":"https://api.github.com/users/lloydbenson/orgs","repos_url":"https://api.github.com/users/lloydbenson/repos","events_url":"https://api.github.com/users/lloydbenson/events{/privacy}","received_events_url":"https://api.github.com/users/lloydbenson/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2014-12-26T13:33:44Z","updated_at":"2015-01-11T16:35:47Z","closed_at":"2015-01-11T16:35:47Z","body":"git pull doesnt handle if you change your branches etc.  Try to make this smarter.\r\n\r\nmaybe do something like:\r\ngit rev-parse --is-inside-work-tree\r\ngit config remote.origin.url git@githost:org/repo\r\ngit --version\r\ngit fetch --tags --progress git@githost:org/repo +refs/heads/*:refs/remotes/origin/*\r\ngit rev-parse refs/remotes/origin/master^{commit}\r\ngit rev-parse refs/remotes/origin/origin/master^{commit}\r\ngit config core.sparsecheckout\r\ngit checkout -f githash\r\ngit rev-list githash\r\n git tag -a -f -m \"ficion tag [id]\""}}