{"id":407,"date":"2011-10-10T06:51:53","date_gmt":"2011-10-09T21:51:53","guid":{"rendered":"http:\/\/daily.belltail.jp\/?p=407"},"modified":"2011-10-11T18:46:22","modified_gmt":"2011-10-11T09:46:22","slug":"%e3%83%8f%e3%83%bc%e3%83%89%e3%83%aa%e3%83%b3%e3%82%af%e3%81%afgit%e3%81%a7%e3%81%af%e2%80%a6","status":"publish","type":"post","link":"https:\/\/daily.belltail.jp\/?p=407","title":{"rendered":"\u30cf\u30fc\u30c9\u30ea\u30f3\u30af\u306fgit\u3067\u306f\u2026"},"content":{"rendered":"<p>\u30d5\u30a1\u30a4\u30ebA\u3092git\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u7f6e\u3044\u3066\uff0cA\u306e\u30cf\u30fc\u30c9\u30ea\u30f3\u30afB\u3082\u540c\u3058\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u7f6e\u304d\u307e\u3059\uff0e<br \/>\n\u3093\u3067\uff0cA\u3092\u5909\u66f4\u3057\u305f\u3089\uff1f<\/p>\n<p>\u30cf\u30fc\u30c9\u30ea\u30f3\u30af\u3063\u3066\u4f55\u2026\u3068\u77e5\u3063\u3066\u305f\u3089\u305d\u306e\u307e\u3093\u307e\u4e88\u60f3\u901a\u308a\u306a\u304b\u3093\u3058\uff0e<br \/>\n\u305d\u306e\u307e\u3093\u307e\u3067\u3059\uff0e\u306f\u3044\uff0e\u306a\u306b\u3082\u4e0d\u601d\u8b70\u306a\u3053\u3068\u3082\u306a\u3051\u308c\u3070\u9762\u767d\u3044\u3053\u3068\u3082\u3042\u308a\u307e\u305b\u3093\uff0e<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n% git init\r\nInitialized empty Git repository in \/\u25cb\u25cb\u25cb\u25cb\u25cb\/.git\/\r\n% echo &quot;hogehogehogehoge&quot; &gt; hello.txt                        #\u4e00\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u30b3\u30df\u30c3\u30c8\u3057\u307e\u3059\r\n% git add hello.txt\r\n% git commit -m &quot;hello.txt&quot;\r\n&#x5B;master (root-commit) acee5b5] hello.txt\r\n 1 files changed, 1 insertions(+), 0 deletions(-)\r\n create mode 100644 hello.txt\r\n% ln hello.txt hello2.txt                                    #\u30cf\u30fc\u30c9\u30ea\u30f3\u30af\u3092\u4f5c\u308a\u307e\u3059\r\n% git status                                                 #\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u304c\u8ffd\u52a0\u3055\u308c\u305f\u3053\u3068\u306b\r\n# On branch master\r\n# Untracked files:\r\n#   (use &quot;git add &lt;file&gt;...&quot; to include in what will be committed)\r\n#\r\n#       hello2.txt\r\nnothing added to commit but untracked files present (use &quot;git add&quot; to track)\r\n% git add hello2.txt                                         #\u30cf\u30fc\u30c9\u30ea\u30f3\u30af\u3082\u30b3\u30df\u30c3\u30c8\u3057\u307e\u3059\r\n% git commit -m &quot;hello2.txt&quot;\r\n&#x5B;master bd15fe1] hello2.txt\r\n 1 files changed, 1 insertions(+), 0 deletions(-)\r\n create mode 100644 hello2.txt\r\n% echo &quot;fugafuga&quot; &gt;&gt; hello.txt                               #\u4e00\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u3061\u3087\u3063\u3068\u5909\u66f4\u3057\u307e\u3059\r\n% git status                                                 #\u5909\u66f4\u306f\u691c\u51fa\u3055\u308c\u305f\u3067\u3057\u3087\u3046\u304b\r\n# On branch master\r\n# Changed but not updated:\r\n#   (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)\r\n#   (use &quot;git checkout -- &lt;file&gt;...&quot; to discard changes in working directory)\r\n#\r\n#       modified:   hello.txt\r\n#       modified:   hello2.txt                               #\u3082\u3061\u308d\u3093\u4e8c\u3064\u76ee\u306e\u307b\u3046\u306e\u30d5\u30a1\u30a4\u30eb\u3082\u5909\u66f4\u3055\u308c\u305f\u3053\u3068\u306b\u306a\u308a\u307e\u3059\r\n#\r\nno changes added to commit (use &quot;git add&quot; and\/or &quot;git commit -a&quot;)\r\n<\/pre>\n<p>\u304f\u305d\u304a\u3082\u3057\u308d\u304f\u306a\u3044\u8a18\u4e8b\u3067\u3054\u3081\u3093\u306a\u3055\u3044\uff0e<br \/>\n\u305d\u3082\u305d\u3082git\u3060\u304b\u3089\u3069\u3046\u306e\u3063\u3066\u3044\u3046\u8a71\u3067\u3059\u3089\u306a\u3044\uff0e\u3053\u308c\u306f\u3072\u3069\u3044\uff0e<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30a1\u30a4\u30ebA\u3092git\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u7f6e\u3044\u3066\uff0cA\u306e\u30cf\u30fc\u30c9\u30ea\u30f3\u30afB\u3082\u540c\u3058\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u7f6e\u304d\u307e\u3059\uff0e \u3093\u3067\uff0cA\u3092\u5909\u66f4\u3057\u305f\u3089\uff1f \u30cf\u30fc\u30c9\u30ea\u30f3\u30af\u3063\u3066\u4f55\u2026\u3068\u77e5\u3063\u3066\u305f\u3089\u305d\u306e\u307e\u3093\u307e\u4e88\u60f3\u901a\u308a\u306a\u304b\u3093\u3058\uff0e \u305d\u306e\u307e\u3093\u307e\u3067\u3059\uff0e\u306f\u3044\uff0e\u306a\u306b\u3082\u4e0d\u601d\u8b70\u306a\u3053\u3068\u3082\u306a\u3051\u308c [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3,7],"class_list":["post-407","post","type-post","status-publish","format-standard","hentry","category-1","tag-git","tag-linux"],"_links":{"self":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=407"}],"version-history":[{"count":0,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=\/wp\/v2\/posts\/407\/revisions"}],"wp:attachment":[{"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daily.belltail.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}