{"id":5209,"date":"2020-04-15T18:00:14","date_gmt":"2020-04-15T09:00:14","guid":{"rendered":"https:\/\/yumishin.com\/?p=5209"},"modified":"2020-04-15T17:56:55","modified_gmt":"2020-04-15T08:56:55","slug":"git-reset-commit","status":"publish","type":"post","link":"https:\/\/yumishin.com\/?p=5209","title":{"rendered":"\u3010Git\u3011\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u307e\u3067\u623b\u3059"},"content":{"rendered":"<p>\u306f\u30fc\u3001\u3084\u308a\u76f4\u3057\u305f\u3044\u3002\u3002\u3002\u3068\u8a00\u3046\u6642\u3001\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u307e\u3067\u623b\u3059\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<h2 id=\"i-0\">\u3010Git\u3011\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u307e\u3067\u623b\u3059<\/h2>\n<div class=\"pre_tag\"><span><i class=\"fa fa-code\"><\/i> \u30b3\u30fc\u30c9<\/span><\/p>\n<pre><code>git log #\u623b\u3057\u305f\u3044\u3068\u3053\u308d\u306e\u30b3\u30df\u30c3\u30c8\u306e\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u8abf\u3079\u308b<\/code><\/pre>\n<\/div>\n<p class=\"p1\"><span class=\"s1\">  <\/span><\/p>\n<div class=\"pre_tag\"><span><i class=\"fa fa-code\"><\/i> \u30b3\u30fc\u30c9<\/span><\/p>\n<pre><code>commit ********************************<\/code> #\u3053\u3093\u306a\u30cf\u30c3\u30b7\u30e5\u5024\u304c\u8868\u793a\u3055\u308c\u307e\u3059<\/pre>\n<p class=\"p1\"><span class=\"s1\"><\/span><\/p>\n<\/div>\n<p>\u30cf\u30c3\u30b7\u30e5\u5024\u304c\u308f\u304b\u3063\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306b\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u5165\u308c\u3066\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"pre_tag\"><span><i class=\"fa fa-code\"><\/i> \u30b3\u30fc\u30c9<\/span><\/p>\n<pre><code>git reset --hard \u30cf\u30c3\u30b7\u30e5\u5024<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u30fc\u3001\u3084\u308a\u76f4\u3057\u305f\u3044\u3002\u3002\u3002\u3068\u8a00\u3046\u6642\u3001\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u307e\u3067\u623b\u3059\u65b9\u6cd5\u3067\u3059\u3002 \u3010Git\u3011\u7279\u5b9a\u306e\u30b3\u30df\u30c3\u30c8\u307e\u3067\u623b\u3059 \u30cf\u30c3\u30b7\u30e5\u5024\u304c\u308f\u304b\u3063\u305f\u3089\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u306b\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u5165\u308c\u3066\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"author":1,"featured_media":5213,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[272],"tags":[],"class_list":{"0":"post-5209","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-programing","8":"entry"},"_links":{"self":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/5209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5209"}],"version-history":[{"count":3,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/5209\/revisions"}],"predecessor-version":[{"id":5214,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/posts\/5209\/revisions\/5214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=\/wp\/v2\/media\/5213"}],"wp:attachment":[{"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yumishin.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}