{"action":"created","issue":{"url":"https://api.github.com/repos/Originate/git-town/issues/673","labels_url":"https://api.github.com/repos/Originate/git-town/issues/673/labels{/name}","comments_url":"https://api.github.com/repos/Originate/git-town/issues/673/comments","events_url":"https://api.github.com/repos/Originate/git-town/issues/673/events","html_url":"https://github.com/Originate/git-town/issues/673","id":108941949,"number":673,"title":"make squash merge work with github flow","user":{"login":"matthandlersux","id":72524,"avatar_url":"https://avatars.githubusercontent.com/u/72524?v=3","gravatar_id":"","url":"https://api.github.com/users/matthandlersux","html_url":"https://github.com/matthandlersux","followers_url":"https://api.github.com/users/matthandlersux/followers","following_url":"https://api.github.com/users/matthandlersux/following{/other_user}","gists_url":"https://api.github.com/users/matthandlersux/gists{/gist_id}","starred_url":"https://api.github.com/users/matthandlersux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthandlersux/subscriptions","organizations_url":"https://api.github.com/users/matthandlersux/orgs","repos_url":"https://api.github.com/users/matthandlersux/repos","events_url":"https://api.github.com/users/matthandlersux/events{/privacy}","received_events_url":"https://api.github.com/users/matthandlersux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Originate/git-town/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-09-29T19:27:22Z","updated_at":"2015-10-13T15:59:11Z","closed_at":null,"body":"@Bowbaq had a good idea. since git town likes to squash merge, but it closes your PR rather than merging... what if the flow was: git reset master -> make a single commit (the same commit that would be your squash commit) -> force push to your pull request -> click merge on github. this would allow other tools that look at the status of a pull request to still recognize when PRs get merged in."},"comment":{"url":"https://api.github.com/repos/Originate/git-town/issues/comments/147759481","html_url":"https://github.com/Originate/git-town/issues/673#issuecomment-147759481","issue_url":"https://api.github.com/repos/Originate/git-town/issues/673","id":147759481,"user":{"login":"Bowbaq","id":618381,"avatar_url":"https://avatars.githubusercontent.com/u/618381?v=3","gravatar_id":"","url":"https://api.github.com/users/Bowbaq","html_url":"https://github.com/Bowbaq","followers_url":"https://api.github.com/users/Bowbaq/followers","following_url":"https://api.github.com/users/Bowbaq/following{/other_user}","gists_url":"https://api.github.com/users/Bowbaq/gists{/gist_id}","starred_url":"https://api.github.com/users/Bowbaq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bowbaq/subscriptions","organizations_url":"https://api.github.com/users/Bowbaq/orgs","repos_url":"https://api.github.com/users/Bowbaq/repos","events_url":"https://api.github.com/users/Bowbaq/events{/privacy}","received_events_url":"https://api.github.com/users/Bowbaq/received_events","type":"User","site_admin":false},"created_at":"2015-10-13T15:59:11Z","updated_at":"2015-10-13T15:59:11Z","body":"Honestly, if it doesn't play nice with the GitHub lifecycle, that's a show stopper for me. The fact that PRs get closed instead of being merged breaks an assumption baked into GitHub, and into all the tools that interface with it. It doesn't matter to me if things get merged in the UI, or by an API call (which would allow to do whatever cleanup is needed)"}}