{"action":"closed","issue":{"url":"https://api.github.com/repos/puppetlabs/r10k/issues/590","repository_url":"https://api.github.com/repos/puppetlabs/r10k","labels_url":"https://api.github.com/repos/puppetlabs/r10k/issues/590/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/r10k/issues/590/comments","events_url":"https://api.github.com/repos/puppetlabs/r10k/issues/590/events","html_url":"https://github.com/puppetlabs/r10k/issues/590","id":150220510,"number":590,"title":"Rebasing causes r10k to fail to deploy an environment.","user":{"login":"nemski","id":2901882,"avatar_url":"https://avatars.githubusercontent.com/u/2901882?v=3","gravatar_id":"","url":"https://api.github.com/users/nemski","html_url":"https://github.com/nemski","followers_url":"https://api.github.com/users/nemski/followers","following_url":"https://api.github.com/users/nemski/following{/other_user}","gists_url":"https://api.github.com/users/nemski/gists{/gist_id}","starred_url":"https://api.github.com/users/nemski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemski/subscriptions","organizations_url":"https://api.github.com/users/nemski/orgs","repos_url":"https://api.github.com/users/nemski/repos","events_url":"https://api.github.com/users/nemski/events{/privacy}","received_events_url":"https://api.github.com/users/nemski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-21T23:39:16Z","updated_at":"2016-04-22T00:47:02Z","closed_at":"2016-04-22T00:47:02Z","body":"When I rebase a branch and push to github, this sometimes causes r10k to fail to pull the latest commit. I get the following error:\r\n\r\n```\r\nERROR\t -> Command exited with non-zero exit code:\r\nCommand: git --git-dir /etc/puppet/environments/scout_update/.git --work-tree /etc/puppet/environments/scout_update checkout <commit sha>\r\nStderr:\r\nerror: Your local changes to the following files would be overwritten by checkout:\r\n\tPuppetfile\r\nPlease, commit your changes or stash them before you can switch branches.\r\nAborting\r\nExit code: 1\r\n```"}}