{"id":785,"date":"2014-02-19T18:33:01","date_gmt":"2014-02-19T17:33:01","guid":{"rendered":"http:\/\/trigonakis.com\/blog\/?p=785"},"modified":"2015-01-29T15:17:45","modified_gmt":"2015-01-29T14:17:45","slug":"git-how-to-merge-to-commits-into-one","status":"publish","type":"post","link":"http:\/\/trigonakis.com\/blog\/2014\/02\/19\/git-how-to-merge-to-commits-into-one\/","title":{"rendered":"git: How to merge two commits into one"},"content":{"rendered":"<div class=\"seriesmeta\">This entry is part 3 of 7 in the series <a href=\"http:\/\/trigonakis.com\/blog\/series\/git-howtos\/\" class=\"series-207\" title=\"git: useful HOWTOs\">git: useful HOWTOs<\/a><\/div><pre lang=\"bash\">git rebase -i<\/pre>\n<p>and then <em>pick<\/em> the one you want to keep and <em>squash<\/em> the other<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"seriesmeta\">This entry is part 3 of 7 in the series <a href=\"http:\/\/trigonakis.com\/blog\/series\/git-howtos\/\" class=\"series-207\" title=\"git: useful HOWTOs\">git: useful HOWTOs<\/a><\/div><p>git rebase -i and then pick the one you want to keep and squash the other<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[37,28],"tags":[208,212],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p1ouW6-cF","_links":{"self":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts\/785"}],"collection":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/comments?post=785"}],"version-history":[{"count":3,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts\/785\/revisions"}],"predecessor-version":[{"id":834,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/posts\/785\/revisions\/834"}],"wp:attachment":[{"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/media?parent=785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/categories?post=785"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/trigonakis.com\/blog\/wp-json\/wp\/v2\/tags?post=785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}