{"url":"https://www.shigemk2.com/entry/20110802/1312303900","title":"git \u30b3\u30de\u30f3\u30c9\u306e\u3044\u304f\u3064\u304b","blog_url":"https://www.shigemk2.com/","blog_title":"by shigemk2","categories":["git"],"published":"2011-08-02 01:51:40","author_name":"shigemk2","height":"190","provider_name":"Hatena Blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20110802%2F1312303900\" title=\"git \u30b3\u30de\u30f3\u30c9\u306e\u3044\u304f\u3064\u304b - 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>","type":"rich","author_url":"https://blog.hatena.ne.jp/shigemk2/","description":"git rebase -i (\u30b3\u30df\u30c3\u30c8\u30ed\u30b0\u3092\u7de8\u96c6\u3059\u308b) git rebase -i HEAD~1(\u76f4\u524d\u30b3\u30df\u30c3\u30c8\u5909\u66f4)\u2192\u4fee\u6b63\u5185\u5bb9\u306f\u6d88\u3048\u308b git rebase -i HEAD~2(\u30b3\u30df\u30c3\u30c8\u5727\u7e2e)\u2192\u4fee\u6b63\u5185\u5bb9\u306f\u6d88\u3048\u306a\u3044 git commit --amend git branch -d branchname \u30d6\u30e9\u30f3\u30c1\u524a\u9664 git branch branchname \u30d6\u30e9\u30f3\u30c1\u4f5c\u6210 git stash save git co branchname","version":"1.0","provider_url":"https://hatena.blog","width":"100%"}