{"id":945,"date":"2019-10-08T01:56:18","date_gmt":"2019-10-07T16:56:18","guid":{"rendered":"https:\/\/took.jp\/?p=945"},"modified":"2020-06-23T18:18:20","modified_gmt":"2020-06-23T09:18:20","slug":"post-945","status":"publish","type":"post","link":"https:\/\/took.jp\/tech-blog\/post-945\/","title":{"rendered":"Github\u3067\u8aa4\u3063\u3066\u30d6\u30e9\u30f3\u30c1\u3092\u524a\u9664\u3057\u3066\u7126\u3063\u305f\u8a71\u3000\u30d6\u30e9\u30f3\u30c1\u306e\u5fa9\u6d3b\u65b9\u6cd5"},"content":{"rendered":"<p>\u3064\u3044\u6700\u8fd1\u306e\u3053\u3068\u306a\u306e\u3067\u3059\u304c\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51fa\u3059\u4e88\u5b9a\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u8aa4\u3063\u3066\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u3066\u3001\u7126\u3063\u305f\u3068\u304d\u306e\u304a\u8a71\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u3084\u3063\u305f\u3053\u3068\u306f\u3001\u300cgit branch \u5fa9\u6d3b\u300d\u3067\u30b0\u30b0\u308b\u3053\u3068\u3002<\/p>\n<p>\u540c\u3058\u3088\u3046\u306a\u30df\u30b9\u3092\u3059\u308b\u4eba\u305f\u3061\u304c\u305f\u304f\u3055\u3093\u3044\u308b\u3088\u3046\u3067\u3001\u5927\u91cf\u306e\u8a18\u4e8b\u304c\u30d2\u30c3\u30c8\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u89e3\u6c7a\u7b56\u3068\u3057\u3066\u306f\u3001\u300cgit reflog\u300d\u3092\u4f7f\u7528\u3057\u3066\u3001\u5c65\u6b74\u3092\u78ba\u8a8d\u5f8c\u3001\u30d6\u30e9\u30f3\u30c1\u540d\u3068HEAD\u756a\u53f7\u3092\u6307\u5b9a\u3057\u3066\u3001\u5fa9\u6d3b\u3055\u305b\u308b\u3068\u3044\u3046\u3082\u306e\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Github\u4e0a\u304b\u3089\u6d88\u3057\u3066\u3057\u307e\u3063\u305f\u79c1\u306f\u3001git reflog\u3092\u4f7f\u7528\u3057\u3066\u3082\u3001\u30d6\u30e9\u30f3\u30c1\u3092\u524a\u9664\u3057\u305f\u3068\u3044\u3046\u5c65\u6b74\u3092\u78ba\u8a8d\u3067\u304d\u306a\u304b\u3063\u305f\u305f\u3081\u3001\u304b\u306a\u308a\u7126\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-948\" src=\"https:\/\/took.jp\/wp-content\/uploads\/2019\/10\/git-delete-300x177.jpg\" alt=\"\" width=\"523\" height=\"308\" srcset=\"https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/git-delete-300x177.jpg 300w, https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/git-delete-768x453.jpg 768w, https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/git-delete.jpg 1024w\" sizes=\"(max-width: 523px) 100vw, 523px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u3053\u306e\u524a\u9664\u3092\u3057\u305f\u76f4\u5f8c\u306b\u306f\u3001restore\u8868\u793a\u306b\u306a\u308a\u3001\u5fa9\u6d3b\u3067\u304d\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u3092\u3082\u9003\u3057\u3066\u3057\u307e\u3063\u305f\u306e\u304c\u79c1\u306e\u4eca\u306e\u72b6\u6cc1\u3067\u3059\u3002<\/p>\n<p>&nbsp;<\/p>\n<h2>Github\u4e0a\u3067\u6d88\u3057\u305f\u306e\u306a\u3089\u3001Github\u4e0a\u3067\u5fa9\u6d3b<\/h2>\n<p>Github\u3067\u6d88\u3057\u305f\u3082\u306e\u306a\u3089\u3001\u540c\u3058\u3088\u3046\u306a\u64cd\u4f5c\u3067\u5fa9\u6d3b\u3067\u304d\u308b\u3060\u308d\u3046\u3068\u3001\u30dd\u30c1\u30dd\u30c1\u3057\u3066\u3044\u305f\u3089\u3001\u3042\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>\u79c1\u306e\u5834\u5408\u306f\u3001\u904e\u53bb\u306b\u4e00\u5ea6\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51fa\u3057\u305f\u30d6\u30e9\u30f3\u30c1\u3092\u524a\u9664\u3057\u3066\u3044\u305f\u306e\u3067\u3001<\/p>\n<p>\u30d7\u30ea\u30ea\u30af\u30a8\u30b9\u30c8\u306e\u30da\u30fc\u30b8\u304b\u3089Close\u3055\u308c\u305f\u30d6\u30e9\u30f3\u30c1\u306e\u4e00\u89a7\u3092\u8868\u793a\u3055\u305b\u3001\u305d\u306e\u4e2d\u304b\u3089\u3001\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u305f\u30d6\u30e9\u30f3\u30c1\u3092\u898b\u3064\u3051\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-946 lazyload\" data-src=\"https:\/\/took.jp\/wp-content\/uploads\/2019\/10\/gitlist-300x195.jpg\" alt=\"\" width=\"474\" height=\"308\" data-srcset=\"https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/gitlist-300x195.jpg 300w, https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/gitlist-768x500.jpg 768w, https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/gitlist.jpg 1024w\" data-sizes=\"(max-width: 474px) 100vw, 474px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u30d6\u30e9\u30f3\u30c1\u3092\u958b\u304d\u3001\u4e00\u756a\u3057\u305f\u307e\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u3068\u3001<\/p>\n<p>Restore Branch\u3068\u3044\u3046\u6587\u5b57\u304c\u3002<\/p>\n<p>\u3053\u308c\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3053\u3068\u3067\u3001\u7121\u4e8b\u30d6\u30e9\u30f3\u30c1\u3092\u5fa9\u6d3b\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-947 lazyload\" data-src=\"https:\/\/took.jp\/wp-content\/uploads\/2019\/10\/gitrestore-300x142.jpg\" alt=\"\" width=\"480\" height=\"227\" data-srcset=\"https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/gitrestore-300x142.jpg 300w, https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/gitrestore-768x364.jpg 768w, https:\/\/took.jp\/tech-blog\/wp-content\/uploads\/2019\/10\/gitrestore.jpg 783w\" data-sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u95a2\u9023\u66f8\u7c4d<\/h2>\n<div id=\"rinkerid2143\" class=\"yyi-rinker-contents  yyi-rinker-postid-2143 yyi-rinker-img-m yyi-rinker-catid-78 yyi-rinker-catid-62 \">\n\t<div class=\"yyi-rinker-box\">\n\t\t<div class=\"yyi-rinker-image\">\n\t\t\t\t\t\t\t<a href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/g00q0727.rtfu13a7.g00q0727.rtfu240f\/Rinker_i_20200623181718?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F12688220%2F&#038;m=http%3A%2F%2Fm.rakuten.co.jp%2Fbook%2Fi%2F16835866%2F&#038;rafcid=wsc_i_is_1022852054992484221\" rel=\"nofollow\" class=\"yyi-rinker-tracking\"  data-click-tracking=\"rakuten_img 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\" data-vars-click-id=\"rakuten_img 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\"><img decoding=\"async\" data-src=\"https:\/\/thumbnail.image.rakuten.co.jp\/@0_mall\/book\/cabinet\/3666\/9784774163666.jpg?_ex=128x128\"  width=\"128\" height=\"128\" class=\"yyi-rinker-main-img lazyload\" style=\"border: none;\"><\/a>\t\t\t\t\t<\/div>\n\t\t<div class=\"yyi-rinker-info\">\n\t\t\t<div class=\"yyi-rinker-title\">\n\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/g00q0727.rtfu13a7.g00q0727.rtfu240f\/Rinker_t_20200623181718?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F12688220%2F&#038;m=http%3A%2F%2Fm.rakuten.co.jp%2Fbook%2Fi%2F16835866%2F&#038;rafcid=wsc_i_is_1022852054992484221\" rel=\"nofollow\" class=\"yyi-rinker-tracking\" data-click-tracking=\"rakuten_title 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\" data-vars-amp-click-id=\"rakuten_title 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\" >GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]<\/a>\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"yyi-rinker-detail\">\n\t\t\t\t\t\t\t<div class=\"credit-box\">created by&nbsp;<a href=\"https:\/\/oyakosodate.com\/rinker\/\" rel=\"nofollow noopener\" target=\"_blank\" >Rinker<\/a><\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"price-box\">\n\t\t\t\t\t\t\t<span title=\"\" class=\"price\">\u00a52,838<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"price_at\">(2026\/04\/11 23:38:11\u6642\u70b9&nbsp;\u697d\u5929\u5e02\u5834\u8abf\u3079-<\/span><span title=\"\u3053\u306e\u30b5\u30a4\u30c8\u3067\u63b2\u8f09\u3055\u308c\u3066\u3044\u308b\u60c5\u5831\u306f\u5f53\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u8005\u306b\u3088\u308a\u904b\u55b6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4fa1\u683c\u3001\u8ca9\u58f2\u53ef\u80fd\u60c5\u5831\u306f\u3001\u5909\u66f4\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002\u8cfc\u5165\u6642\u306b\u697d\u5929\u5e02\u5834\u5e97\u8217\uff08www.rakuten.co.jp\uff09\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u4fa1\u683c\u304c\u305d\u306e\u5546\u54c1\u306e\u8ca9\u58f2\u306b\u9069\u7528\u3055\u308c\u307e\u3059\u3002\">\u8a73\u7d30)<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<ul class=\"yyi-rinker-links\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t                    <li class=\"amazonlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/www.amazon.co.jp\/gp\/search?ie=UTF8&amp;keywords=Github&amp;tag=tookblog-22&amp;index=blended&amp;linkCode=ure&amp;creative=6339\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"amazon 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\"  data-vars-amp-click-id=\"amazon 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\">Amazon<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"rakutenlink\">\n\t\t\t\t\t\t<a href=\"https:\/\/hb.afl.rakuten.co.jp\/hgc\/g00q0727.rtfu13a7.g00q0727.rtfu240f\/Rinker_t_20200623181718?pc=https%3A%2F%2Fitem.rakuten.co.jp%2Fbook%2F12688220%2F&amp;m=http%3A%2F%2Fm.rakuten.co.jp%2Fbook%2Fi%2F16835866%2F&amp;rafcid=wsc_i_is_1022852054992484221\" rel=\"nofollow\" class=\"yyi-rinker-link yyi-rinker-tracking\"  data-click-tracking=\"rakuten 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\"  data-vars-amp-click-id=\"rakuten 2143 GitHub\u5b9f\u8df5\u5165\u9580 \u301cPull Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 Pull\u3000Request\u306b\u3088\u308b\u958b\u767a\u306e\u5909\u9769 \uff08WEB+DB PRESS plus\uff09 [ \u5927\u585a\u5f18\u8a18 ]\">\u697d\u5929\u5e02\u5834<\/a>\t\t\t\t\t<\/li>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/ul>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>\u3064\u3044\u6700\u8fd1\u306e\u3053\u3068\u306a\u306e\u3067\u3059\u304c\u3001\u30d7\u30eb\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u51fa\u3059\u4e88\u5b9a\u306e\u30d6\u30e9\u30f3\u30c1\u3092\u8aa4\u3063\u3066\u524a\u9664\u3057\u3066\u3057\u307e\u3063\u3066\u3001\u7126\u3063\u305f\u3068\u304d\u306e\u304a\u8a71\u3067\u3059\u3002 \u307e\u305a\u3084\u3063\u305f\u3053\u3068\u306f\u3001\u300cgit branch \u5fa9\u6d3b\u300d\u3067\u30b0\u30b0\u308b\u3053\u3068\u3002 \u540c\u3058\u3088\u3046\u306a\u30df\u30b9\u3092\u3059\u308b\u4eba\u305f\u3061\u304c\u305f\u304f\u3055\u3093\u3044\u308b\u3088\u3046\u3067\u3001\u5927\u91cf\u306e\u8a18\u4e8b\u304c\u30d2\u30c3\u30c8\u2026<\/p>\n","protected":false},"author":3,"featured_media":1907,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[78,62],"tags":[],"class_list":["post-945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-git","category-it"],"_links":{"self":[{"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/posts\/945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/comments?post=945"}],"version-history":[{"count":0,"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/posts\/945\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/media\/1907"}],"wp:attachment":[{"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/media?parent=945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/categories?post=945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/took.jp\/tech-blog\/wp-json\/wp\/v2\/tags?post=945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}