{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2026%2F03%2F12%2F005620\" title=\"git add -u/-A - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://www.shigemk2.com/entry/2026/03/12/005620","provider_url":"https://hatena.blog","height":"190","width":"100%","type":"rich","description":"-u \u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u3059\u3067\u306b\u30a8\u30f3\u30c8\u30ea\u304c\u3042\u308b\u30d5\u30a1\u30a4\u30eb\uff08\uff1d\u8ffd\u8de1\u6e08\u307f\u30d5\u30a1\u30a4\u30eb\uff09\u306e\u307f\u3092\u5bfe\u8c61\u306b\u3001\u4f5c\u696d\u30c4\u30ea\u30fc\u306b\u5408\u308f\u305b\u3066\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u66f4\u65b0 -A \u4f5c\u696d\u30c4\u30ea\u30fc\u306b\u30d5\u30a1\u30a4\u30eb\u304c\u3042\u308b\u5834\u5408\u3060\u3051\u3067\u306a\u304f\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u3059\u3067\u306b\u30a8\u30f3\u30c8\u30ea\u304c\u3042\u308b\u5834\u5408\u3082\u542b\u3081\u3066\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u66f4\u65b0 # \u4f5c\u696d\u30c4\u30ea\u30fc\u306e\u72b6\u614b: # modified: existing.txt \uff08\u5909\u66f4\uff09 # deleted: old.txt \uff08\u524a\u9664\uff09 # new: newfile.txt \uff08\u65b0\u898f\u30fb\u672a\u8ffd\u8de1\uff09 git add -u # \u2192 existing.txt \u306e\u5909\u66f4\u3068 old.txt \u306e\u524a\u9664\u304c\u30b9\u30c6\u30fc\u30b8\u3055\u308c\u308b # \u2192 newfile.txt \u306f\u7121\u8996\u3055\u308c\u308b git add -A \u2026","blog_url":"https://www.shigemk2.com/","published":"2026-03-12 00:56:20","title":"git add -u/-A","version":"1.0","provider_name":"Hatena Blog","author_name":"shigemk2","author_url":"https://blog.hatena.ne.jp/shigemk2/","blog_title":"by shigemk2","categories":["Git"],"image_url":null}