{"action":"created","issue":{"url":"https://api.github.com/repos/thoughtbot/guides/issues/363","labels_url":"https://api.github.com/repos/thoughtbot/guides/issues/363/labels{/name}","comments_url":"https://api.github.com/repos/thoughtbot/guides/issues/363/comments","events_url":"https://api.github.com/repos/thoughtbot/guides/issues/363/events","html_url":"https://github.com/thoughtbot/guides/pull/363","id":111794643,"number":363,"title":"Prefer `--force-with-lease` over `--force`","user":{"login":"calleerlandsson","id":66666,"avatar_url":"https://avatars.githubusercontent.com/u/66666?v=3","gravatar_id":"","url":"https://api.github.com/users/calleerlandsson","html_url":"https://github.com/calleerlandsson","followers_url":"https://api.github.com/users/calleerlandsson/followers","following_url":"https://api.github.com/users/calleerlandsson/following{/other_user}","gists_url":"https://api.github.com/users/calleerlandsson/gists{/gist_id}","starred_url":"https://api.github.com/users/calleerlandsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calleerlandsson/subscriptions","organizations_url":"https://api.github.com/users/calleerlandsson/orgs","repos_url":"https://api.github.com/users/calleerlandsson/repos","events_url":"https://api.github.com/users/calleerlandsson/events{/privacy}","received_events_url":"https://api.github.com/users/calleerlandsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-16T09:26:59Z","updated_at":"2015-10-16T12:11:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/guides/pulls/363","html_url":"https://github.com/thoughtbot/guides/pull/363","diff_url":"https://github.com/thoughtbot/guides/pull/363.diff","patch_url":"https://github.com/thoughtbot/guides/pull/363.patch"},"body":"Using `--force-with-lease` allows one to force push without the risk of\r\nunintentionally overwriting someone else's work.\r\n\r\nThe git-push(1) man page states:\r\n\r\n> Usually, \"git push\" refuses to update a remote ref that is not an\r\n> ancestor of the local ref used to overwrite it.\r\n>\r\n> This option overrides this restriction if the current value of the\r\n> remote ref is the expected value. \"git push\" fails otherwise.\r\n>\r\n> --force-with-lease alone, without specifying the details, will protect\r\n> all remote refs that are going to be updated by requiring their\r\n> current value to be the same as the remote-tracking branch we have for\r\n> them."},"comment":{"url":"https://api.github.com/repos/thoughtbot/guides/issues/comments/148700690","html_url":"https://github.com/thoughtbot/guides/pull/363#issuecomment-148700690","issue_url":"https://api.github.com/repos/thoughtbot/guides/issues/363","id":148700690,"user":{"login":"seanpdoyle","id":2575027,"avatar_url":"https://avatars.githubusercontent.com/u/2575027?v=3","gravatar_id":"","url":"https://api.github.com/users/seanpdoyle","html_url":"https://github.com/seanpdoyle","followers_url":"https://api.github.com/users/seanpdoyle/followers","following_url":"https://api.github.com/users/seanpdoyle/following{/other_user}","gists_url":"https://api.github.com/users/seanpdoyle/gists{/gist_id}","starred_url":"https://api.github.com/users/seanpdoyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanpdoyle/subscriptions","organizations_url":"https://api.github.com/users/seanpdoyle/orgs","repos_url":"https://api.github.com/users/seanpdoyle/repos","events_url":"https://api.github.com/users/seanpdoyle/events{/privacy}","received_events_url":"https://api.github.com/users/seanpdoyle/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T12:11:57Z","updated_at":"2015-10-16T12:11:57Z","body":"@mike-burns is that's the case, should there be a matching PR to the dotfiles once if this is merged?"}}