{"id":3055,"date":"2023-06-13T23:36:30","date_gmt":"2023-06-13T14:36:30","guid":{"rendered":"http:\/\/attacktube.com\/?p=3055"},"modified":"2023-06-16T16:04:42","modified_gmt":"2023-06-16T07:04:42","slug":"%e3%80%90git%e3%80%913%e3%81%a4%e3%81%ae%e3%82%b9%e3%83%86%e3%83%bc%e3%82%b8%e3%81%a8%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae%e7%8a%b6%e6%85%8btrack%e3%81%a8untrack","status":"publish","type":"post","link":"https:\/\/attacktube.com\/?p=3055","title":{"rendered":"\u3010Git\u30113\u3064\u306e\u9818\u57df\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b(tracked\u3068untracked)"},"content":{"rendered":"\n<p>3\u3064\u306e\u30b9\u30c6\u30fc\u30b8\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b(tracked\u3068untracked)\u306f\u91cd\u8981\u3067\u3042\u308b\u3002<br>\u65b0\u898f\u3067\u8ffd\u52a0\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306fWorking directory\u306euntracked\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308b\u3002<br>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b58\u5728\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3059\u308b\u3068Working directory\u306etracked\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308b\u3002<br>\u3053\u306e\u6319\u52d5\u304c\u3068\u3066\u3082\u91cd\u8981\u3002\u5fc5\u305a\u899a\u3048\u308b\u5fc5\u8981\u304c\u3042\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<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/attacktube.com\/wp-content\/uploads\/2023\/06\/0615-1fix2-1.jpg\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"195\" src=\"https:\/\/i0.wp.com\/attacktube.com\/wp-content\/uploads\/2023\/06\/0615-1fix2-1.jpg?resize=489%2C195\" alt=\"\" class=\"wp-image-3153\" srcset=\"https:\/\/i0.wp.com\/attacktube.com\/wp-content\/uploads\/2023\/06\/0615-1fix2-1.jpg?w=489&amp;ssl=1 489w, https:\/\/i0.wp.com\/attacktube.com\/wp-content\/uploads\/2023\/06\/0615-1fix2-1.jpg?resize=300%2C120&amp;ssl=1 300w, https:\/\/i0.wp.com\/attacktube.com\/wp-content\/uploads\/2023\/06\/0615-1fix2-1.jpg?resize=304%2C121&amp;ssl=1 304w, https:\/\/i0.wp.com\/attacktube.com\/wp-content\/uploads\/2023\/06\/0615-1fix2-1.jpg?resize=282%2C112&amp;ssl=1 282w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/a><\/figure>\n\n\n\n<p>\u300cgit status\u300d\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3002<br>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u65e2\u306b\u5b58\u5728\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63\u3057\u3001\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b58\u5728\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u3067\u8ffd\u52a0\u3059\u308b\u3068\u6b21\u306e\u3088\u3046\u306b\u306a\u308b\u3002<br><br>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u65e2\u306b\u5b58\u5728\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u305f\u5834\u5408<br>Changes not staged for commit(\u30b3\u30df\u30c3\u30c8\u7528\u306b\u30b9\u30c6\u30fc\u30b8\u30f3\u30b0\u3055\u308c\u3066\u3044\u306a\u3044\u5909\u66f4\u70b9)<br>README.md<br><br>\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b58\u5728\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u3067\u8ffd\u52a0\u3057\u305f\u5834\u5408<br>Untracked files(Working directory\u306b\u5b58\u5728\u3059\u308buntracked\u30d5\u30a1\u30a4\u30eb)<br>.gitattributes<br>LICENSE<br>LocalTime.js<br>LocalTime_sample.js<br>package.json<br><br>no changes added to commit(\u30b3\u30df\u30c3\u30c8\u7528\u306b\u8ffd\u52a0\u3055\u308c\u305f\u5909\u66f4\u70b9\u306a\u3057)<br>\u3053\u308c\u306b\u8a72\u5f53\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u5b58\u5728\u3057\u306a\u3044\u3002<\/p>\n\n\n\n<pre><code>\n$ git status\nOn branch main\nYour branch is up to date with &#039;origin\/main&#039;.\n\nChanges not staged for commit:\n  (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)\n  (use &quot;git restore &lt;file&gt;...&quot; to discard changes in working directory)\n        modified:   README.md\n\nUntracked files:\n  (use &quot;git add &lt;file&gt;...&quot; to include in what will be committed)\n        .gitattributes\n        LICENSE\n        LocalTime.js\n        LocalTime_sample.js\n        package.json\n\nno changes added to commit (use &quot;git add&quot; and\/or &quot;git commit -a&quot;)\n<\/code><\/pre>\n\n\n\n<p>Working directory\u306b\u5b58\u5728\u3059\u308buntracked\u30d5\u30a1\u30a4\u30eb\u306f\u300crm\u300d\u30b3\u30de\u30f3\u30c9\u3067\u524a\u9664\u3059\u308b\u3053\u3068\u3002<br><br>\u4ed6\u306e\u82f1\u8a9e\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3082\u65e5\u672c\u8a9e\u306b\u8a33\u3057\u3066\u304a\u304f\u3002\u6b21\u306e\u901a\u308a\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p>use &#8220;git add \u2026&#8221; to update what will be committed<br>(\u30b3\u30df\u30c3\u30c8\u3055\u308c\u308b\u5185\u5bb9\u3092\u66f4\u65b0\u3059\u308b\u305f\u3081\u306b\u3001\u300cgit add \u2026\u300d\u3092\u4f7f\u7528\u305b\u3088\u3002)<\/p>\n\n\n\n<p>use &#8220;git restore \u2026&#8221; to discard changes in working directory<br>(working directory\u306e\u5909\u66f4\u3092\u7834\u68c4\u3059\u308b\u305f\u3081\u306b\u3001\u300cgit restore \u2026\u300d\u3092\u4f7f\u7528\u305b\u3088\u3002)<\/p>\n\n\n\n<p>use &#8220;git add \u2026&#8221; to include in what will be committed<br>(\u30b3\u30df\u30c3\u30c8\u3055\u308c\u308b\u5185\u5bb9\u306b\u542b\u3081\u308b\u305f\u3081\u306b\u3001\u300cgit add \u2026&#8217;\u300d\u3092\u4f7f\u7528\u305b\u3088\u3002)<\/p>\n\n\n\n<p>no changes added to commit (use &#8220;git add&#8221; and\/or &#8220;git commit -a&#8221;)<br>(\u30b3\u30df\u30c3\u30c8\u3059\u308b\u305f\u3081\u306b\u8ffd\u52a0\u3055\u308c\u305f\u5909\u66f4\u306f\u306a\u3057\u3002\u300cgit add\u300d\u304a\u3088\u3073\/\u307e\u305f\u306f\u300cgit commit -a\u300d\u3092\u4f7f\u7528\u305b\u3088\u3002)<\/p>\n\n\n\n<p><\/p>\n\n\n\n<script type=\"text\/javascript\">\njQuery(function($){\n$(\".jp-video\").hide();\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>3\u3064\u306e\u30b9\u30c6\u30fc\u30b8\u3068\u30d5\u30a1\u30a4\u30eb\u306e\u72b6\u614b(tracked\u3068untracked)\u306f\u91cd\u8981\u3067\u3042\u308b\u3002\u65b0\u898f\u3067\u8ffd\u52a0\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306fWorking directory\u306euntracked\u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308b\u3002\u30ed\u30fc\u30ab\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u5b58\u5728\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4fee\u6b63 [&hellip;]<\/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-3055","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\/3055","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=3055"}],"version-history":[{"count":23,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/3055\/revisions"}],"predecessor-version":[{"id":3206,"href":"https:\/\/attacktube.com\/index.php?rest_route=\/wp\/v2\/posts\/3055\/revisions\/3206"}],"wp:attachment":[{"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/attacktube.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}