{"id":1786,"date":"2018-07-26T19:12:42","date_gmt":"2018-07-26T11:12:42","guid":{"rendered":"https:\/\/cowmanchiang.me\/wp\/?p=1786"},"modified":"2023-10-31T15:42:22","modified_gmt":"2023-10-31T07:42:22","slug":"git-edit-commit-message-after-push","status":"publish","type":"post","link":"https:\/\/cowmanchiang.me\/wp\/?p=1786","title":{"rendered":"[Git] edit commit message after push"},"content":{"rendered":"<p>Source: <a href=\"https:\/\/stackoverflow.com\/questions\/8981194\/changing-git-commit-message-after-push-given-that-no-one-pulled-from-remote\" rel=\"noopener noreferrer\" target=\"_blank\">stackopenflow: Changing git commit message after push (given that no one pulled from remote)<\/a><\/p>\n<p><code>git comment --amend<br \/>\ngit push --force<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Source: stackopenflow: Changing git commit message after push (given that no one pulled from remote) git comment &#8211;amend git push &#8211;force<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1786","post","type-post","status-publish","format-standard","hentry","category-git"],"_links":{"self":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1786"}],"version-history":[{"count":2,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1786\/revisions"}],"predecessor-version":[{"id":1849,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1786\/revisions\/1849"}],"wp:attachment":[{"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cowmanchiang.me\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}