{"url":"https://seeku.hateblo.jp/entry/2015/06/05/054009","published":"2015-06-05 05:40:09","blog_url":"https://seeku.hateblo.jp/","provider_name":"Hatena Blog","blog_title":"\u958b\u767a\u30e1\u30e2","categories":[],"author_url":"https://blog.hatena.ne.jp/see_ku/","author_name":"see_ku","provider_url":"https://hatena.blog","width":"100%","image_url":null,"title":"git\u3067\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u3092\u4fee\u6b63","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseeku.hateblo.jp%2Fentry%2F2015%2F06%2F05%2F054009\" title=\"git\u3067\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u3092\u4fee\u6b63 - \u958b\u767a\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>","height":"190","description":"\u666e\u901a\u306b\uff08\uff1f\uff09\u3001 git rebase -i \u3067\u6700\u521d\u306e\u30b3\u30df\u30c3\u30c8\u3092\u4ea1\u304d\u8005\u306b\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u5931\u6557\u3057\u305f\u306e\u3067\u30e1\u30e2\u3002 $ git rebase -i HEAD~~ fatal: Needed a single revision invalid upstream HEAD~~ \u5148\u982d\u306e\u30b3\u30df\u30c3\u30c8\u3092\u4fee\u6b63\u3059\u308b\u5834\u5408 git rebase -i --root \u3092\u4f7f\u7528\u3059\u308b\u3002 $ git rebase -i HEAD~~ \u30b3\u30df\u30c3\u30c8\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u7de8\u96c6\u3059\u308b\u753b\u9762\u306b\u306a\u308b\u306e\u3067\u3001\u4e00\u756a\u4e0a\u306e\u30b3\u30df\u30c3\u30c8\u306fpick\u306e\u307e\u307e\u306b\u3057\u3066\u304a\u3044\u3066\u3001\u305d\u308c\u4ee5\u4e0b\u306e\u30b3\u30df\u30c3\u30c8\u3092f\u306b\u3057\u3066\u5727\u7e2e\u3002 \u7de8\u96c6\u524d\uff1a pick 4e951dd Initial Commit pick 28\u2026","version":"1.0","type":"rich"}