{"id":1361,"date":"2016-03-13T17:50:54","date_gmt":"2016-03-13T08:50:54","guid":{"rendered":"https:\/\/adan.jp.net\/blog\/?p=1361"},"modified":"2017-12-08T16:50:26","modified_gmt":"2017-12-08T07:50:26","slug":"git%e3%83%aa%e3%83%a2%e3%83%bc%e3%83%88%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%81%ae%e5%86%85%e5%ae%b9%e3%81%a7%e4%b8%8a%e6%9b%b8%e3%81%8f","status":"publish","type":"post","link":"https:\/\/adan.jp.net\/blog\/programing\/1361","title":{"rendered":"Git\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u5185\u5bb9\u3067\u4e0a\u66f8\u304f"},"content":{"rendered":"<p><i class=\"fa fa-hand-o-down\"><\/i>Git\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3066\u6765\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u5185\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u3044\u3058\u308a\u5012\u3057\u3066\u3001\u3055\u3041\u623b\u3057\u305f\u3044\u3063\u3066\u6642\u306b\u4f7f\u3048\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<br \/>\n\u901a\u5e38\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u3001\u6700\u65b0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092pull\u3059\u308c\u3070\u826f\u3044\u3002<\/p>\n<pre><code>$ git checkout .\n$ git pull origin master\n<\/code><\/pre>\n<p><i class=\"fa fa-hand-o-down\"><\/i>\u304c\u3001\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u6700\u65b0\u306e\u72b6\u614b\u3092\u7121\u7406\u3084\u308a\u6301\u3063\u3066\u304d\u305f\u3044\u5834\u5408\u3082\u3042\u308b\u306f\u305a\u3001\u3001\u3001<br \/>\n\u305d\u3093\u306a\u72b6\u6cc1\u306e\u826f\u3044\u4f8b\u3048\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u3067\u3059\u304c\u3002\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002<\/p>\n<pre><code>$ git fetch origin\n$ git reset --hard origin\/master.\n<\/code><\/pre>\n<p>\u77ed\u3044\u3067\u3059\u304c\u3002\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<hr><div class='adan_banner'>\n<a href='\/contact'><img src='\/blog\/wp-content\/uploads\/2019\/02\/bosyu_banner.jpeg'><\/a>\n<\/div>  <div class=\"sng-box box26\"><div class=\"box-title\">\u30d7\u30ed\u306b\u805e\u3044\u3066\u307f\u308b<\/div><div class=\"box-content\">\u682a\u5f0f\u4f1a\u793eadan\u306f\u30a8\u30f3\u30b8\u30cb\u30a2\u306e\u30ad\u30e3\u30ea\u30a2\u306b\u771f\u5263\u306b\u5411\u304d\u5408\u3063\u3066\u3044\u307e\u3059\u3002<br>\n<strong class='keiko_blue'>\u4f01\u696d\u306e\u60c5\u5831<\/strong>\u3084<strong class='keiko_blue'>\u30a8\u30f3\u30b8\u30cb\u30a2\u3068\u3057\u3066\u306e\u30ad\u30e3\u30ea\u30a2\u30a2\u30c3\u30d7<\/strong>\u306e\u65b9\u6cd5\u3001<strong class='keiko_blue'>\u73fe\u5728\u306e\u5f85\u9047\uff08\u7d66\u6599\u30fb\u5831\u916c\uff09<\/strong>\u3001<strong class='keiko_blue'>\u672a\u7d4c\u9a13\u304b\u3089\u306e\u30b9\u30c6\u30c3\u30d7\u30a2\u30c3\u30d7\u65b9\u6cd5<\/strong>\u306a\u3069\u306e\u3054\u76f8\u8ac7\u3092\u53d7\u3051\u4ed8\u3051\u3066\u3044\u307e\u3059\u3002<br>\n\u304a\u6c17\u8efd\u306b\u304a\u554f\u5408\u305b\u304f\u3060\u3055\u3044\u3002<div class=\"center\"><p>  <a href=\"\/contact\" class=\"btn raised accent-bc strong\">\u304a\u554f\u5408\u305b\u306f\u3053\u3061\u3089<\/a><\/p><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Git\u3067\u3001\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30af\u30ed\u30fc\u30f3\u3057\u3066\u6765\u3066\u3001\u30ed\u30fc\u30ab\u30eb\u5185\u3067\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u3044\u3058\u308a\u5012\u3057\u3066\u3001\u3055\u3041\u623b\u3057\u305f\u3044\u3063\u3066\u6642\u306b\u4f7f\u3048\u308b\u30b3\u30de\u30f3\u30c9\u3067\u3059\u3002 \u901a\u5e38\u306f\u3001\u30ed\u30fc\u30ab\u30eb\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u3057\u3001\u6700\u65b0\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u3092pull\u3059\u308c\u3070\u826f\u3044\u3002 $ &#8230; <\/p>\n","protected":false},"author":2,"featured_media":1360,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[57],"class_list":{"0":"post-1361","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-programing","8":"tag-git"},"_links":{"self":[{"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/posts\/1361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/comments?post=1361"}],"version-history":[{"count":2,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/posts\/1361\/revisions"}],"predecessor-version":[{"id":1675,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/posts\/1361\/revisions\/1675"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/media\/1360"}],"wp:attachment":[{"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/media?parent=1361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/categories?post=1361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adan.jp.net\/blog\/wp-json\/wp\/v2\/tags?post=1361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}