{"type":"rich","image_url":null,"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.tmtms.net%2Fentry%2F2014%2F05%2F28%2Fgit\" title=\"Git\u3067\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u3092\u3069\u3046\u306b\u304b\u3059\u308b - tmtms \u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/tmtms/","author_name":"tmtms","published":"2014-05-29 00:55:37","provider_name":"Hatena Blog","categories":["Git"],"blog_title":"tmtms \u306e\u30e1\u30e2","blog_url":"https://blog.tmtms.net/","version":"1.0","description":"\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u306e\u5185\u5bb9\u3092\u5909\u66f4\u3057\u305f\u3044 Git\u3067\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u306e\u5185\u5bb9\u3092\u5909\u66f4\u3057\u305f\u3044\u3068\u601d\u3063\u3066 git rebase -i <\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8> \u3068\u3084\u3063\u3066\u3082\u3001\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u306f\u51fa\u3066\u304d\u307e\u305b\u3093\u3002 % git log --oneline 4f4f42c \u4e8c\u756a\u76ee\u306e\u30b3\u30df\u30c3\u30c8 9d4876c \u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8 % git rebase -i 9d4876c pick 4f4f42c \u4e8c\u756a\u76ee\u306e\u30b3\u30df\u30c3\u30c8 \u3053\u306e\u3088\u3046\u306a\u5834\u5408\u306f git rebase -i --root \u3092\u6307\u5b9a\u3059\u308b\u3068\u826f\u3044\u3088\u3046\u3067\u3059\u3002 % git rebase -i --root pick 9d4876c \u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8 pick 4f4f42c \u4e8c\u756a\u76ee\u306e\u30b3\u30df\u30c3\u30c8 \u6700\u521d\u306e\u2026","height":"190","url":"https://blog.tmtms.net/entry/2014/05/28/git","title":"Git\u3067\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u3092\u3069\u3046\u306b\u304b\u3059\u308b"}