{"id":2897,"date":"2023-06-10T08:42:49","date_gmt":"2023-06-09T23:42:49","guid":{"rendered":"http:\/\/attacktube.com\/?p=2897"},"modified":"2023-06-14T06:52:19","modified_gmt":"2023-06-13T21:52:19","slug":"git%e3%83%aa%e3%83%9d%e3%82%b8%e3%83%88%e3%83%aa%e3%81%ae%e4%bd%9c%e6%88%90%e6%96%b9%e6%b3%953%e3%81%a4","status":"publish","type":"post","link":"https:\/\/attacktube.com\/?p=2897","title":{"rendered":"git\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u4f5c\u6210\u65b9\u6cd53\u3064"},"content":{"rendered":"\n<p>git\u30ea\u30dd\u30b8\u30c8\u30ea(\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea)\u306e\u4f5c\u6210\u65b9\u6cd5\u306f3\u3064\u3042\u308b\u3002<br>(1)\u30b9\u30af\u30e9\u30c3\u30c1\u304b\u3089git\u30ea\u30dd\u4f5c\u6210\u3059\u308b\u3002<br>(2)\u65e2\u5b58\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092git\u30ea\u30dd\u306b\u3059\u308b\u3002<br>(3)\u65e2\u5b58\u306e\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u4f5c\u6210\u3059\u308b\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<br>\n<script async=\"\" src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-3461056110605997\" crossorigin=\"anonymous\"><\/script>\n<ins class=\"adsbygoogle\" style=\"display:block; text-align:center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-3461056110605997\" data-ad-slot=\"3137443461\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n<br>\n\n\n\n<p><strong>\u74b0\u5883<\/strong><br>Windows10(64bit)<br>Git bash<br><br><em><strong>\u8a73\u7d30<\/strong><\/em><br>(1)\u30b9\u30af\u30e9\u30c3\u30c1\u304b\u3089git\u30ea\u30dd\u3092\u4f5c\u6210\u3059\u308b\u3002<br>\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b.git\u30d5\u30a9\u30eb\u30c0\u304c\u5165\u3063\u305f\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3059\u308b\u3002<\/p>\n\n\n\n<pre><code>\ngit init &lt;project-name&gt;\n<\/code><\/pre>\n\n\n\n<p>\u300cproject-from-scratch\u300d\u3092\u4f5c\u3063\u3066\u300cls -a\u300d\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u300c.\/git\u300d\u30d5\u30a9\u30eb\u30c0\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u304c\u78ba\u8a8d\u3067\u304d\u308b\u3002\u300c.\/git\u300d\u30d5\u30a9\u30eb\u30c0\u304c\u5b58\u5728\u3059\u308b\u306a\u3089\u3070git\u30ea\u30dd\u30b8\u30c8\u30ea\u3067\u3042\u308b\u3068\u8a00\u3048\u308b\u3002<br>\u300cls -a\u300d\u3068\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e\u3059\u3079\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u3084\u30d5\u30a9\u30eb\u30c0(\u96a0\u3057\u30d5\u30a9\u30eb\u30c0\u3092\u542b\u3080)\u304c\u8868\u793a\u3055\u305b\u308b\u3002<br>\u300c-a\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u300call\u300d\u306e\u7565\u3067\u3001\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u3084\u96a0\u3057\u30d5\u30a9\u30eb\u30c0\u3082\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u3002\u96a0\u3057\u30d5\u30a1\u30a4\u30eb\u3084\u96a0\u3057\u30d5\u30a9\u30eb\u30c0\u306f\u3001\u901a\u5e38\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a9\u30eb\u30c0\u540d\u306e\u5148\u982d\u306b\u30d4\u30ea\u30aa\u30c9(.)\u304c\u4ed8\u3044\u3066\u3044\u308b\u3053\u3068\u3067\u8b58\u5225\u3055\u308c\u308b\u3002<\/p>\n\n\n\n<pre><code>\n\u3007\u3007\u3007@\u25b3\u25b3\u25b3 MINGW64 ~\n$ git init project-from-scratch\nInitialized empty Git repository in C:\/Users\/\u3007\u3007\u3007\/project-from-scratch\/.git\/\n\n\u3007\u3007\u3007@\u25b3\u25b3\u25b3 MINGW64 ~\n$ cd project-from-scratch\/\n\n\u3007\u3007\u3007@\u25b3\u25b3\u25b3 MINGW64 ~\/project-from-scratch (master)\n$ ls\n\n\u3007\u3007\u3007@\u25b3\u25b3\u25b3 MINGW64 ~\/project-from-scratch (master)\n$ ls -a\n.\/  ..\/  .git\/\n\n<\/code><\/pre>\n\n\n\n<script type=\"text\/javascript\">\njQuery(function($){\n$(\".jp-video\").hide();\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>git\u30ea\u30dd\u30b8\u30c8\u30ea(\u30ed\u30fc\u30ab\u30eb\u306e\u30ea\u30dd\u30b8\u30c8\u30ea)\u306e\u4f5c\u6210\u65b9\u6cd5\u306f3\u3064\u3042\u308b\u3002(1)\u30b9\u30af\u30e9\u30c3\u30c1\u304b\u3089git\u30ea\u30dd\u4f5c\u6210\u3059\u308b\u3002(2)\u65e2\u5b58\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092git\u30ea\u30dd\u306b\u3059\u308b\u3002(3)\u65e2\u5b58\u306e\u30ea\u30e2\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u4f5c\u6210\u3059\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[12],"tags":[],"class_list":["post-2897","post","type-post","status-publish","format-standard","hentry","category-it"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/2897","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2897"}],"version-history":[{"count":10,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/2897\/revisions"}],"predecessor-version":[{"id":3062,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/2897\/revisions\/3062"}],"wp:attachment":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2897"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2897"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}