{"type":"rich","published":"2011-11-08 14:47:11","version":"1.0","provider_url":"https://hatena.blog","url":"https://leafcage.hateblo.jp/entry/20111108/1320731231","author_url":"https://blog.hatena.ne.jp/leafcage/","blog_url":"https://leafcage.hateblo.jp/","width":"100%","image_url":null,"provider_name":"Hatena Blog","height":"190","author_name":"leafcage","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fleafcage.hateblo.jp%2Fentry%2F20111108%2F1320731231\" title=\"git\u30e1\u30e2 - cafegale(LeafCage\u5099\u5fd8\u9332)\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"git show HEAD^1(HEAD^) \u4e00\u756a\u76ee\u306e\u89aa git show HEAD^2 \u4e8c\u756a\u76ee\u306e\u89aa\uff08\u30de\u30fc\u30b8\u3057\u3066\u89aa\u304c2\u3064\u3042\u308b\u3068\u304d\u306a\u3069\uff09 git show '\uff1a/\u30a4\u30f3\u30c7\u30f3\u30c8\u3092\u6b63\u3057\u305f' \u30ed\u30b0\u30e1\u30c3\u30bb\u30fc\u30b8\u304c'\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u6b63\u3057\u305f'\u3067\u59cb\u307e\u308b\u3082\u306e git describe \u76f4\u8fd1\u30bf\u30b0\u304b\u3089\u306e\u76f8\u5bfe\u8ddd\u96e2\u3092\u300c\u30bf\u30b0\u540d-2-gXXXXXX\u300d\u306e\u5f62\u3067\u793a\u3059\u30022\u306f\u305d\u306e\u30bf\u30b0\u304b\u3089\u306e\u8ddd\u96e2\u3001XXXXXX\u306f\u30b3\u30df\u30c3\u30c8\u540d git rm --cached \u30d5\u30a1\u30a4\u30eb\u306e\u8ffd\u8de1\u3092\u3084\u3081\u308b\u3002index\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u3092\u9664\u304f\u3002 git show\u3068git diff \u3059\u3067\u306bcommit\u3057\u305f\u3082\u306e\u2192git show \u3053\u308c\u304b\u3089commit\u3059\u308b\u3082\u306e\u2192git diff","title":"git\u30e1\u30e2","categories":["note","git"],"blog_title":"cafegale(LeafCage\u5099\u5fd8\u9332)"}