{"type":"rich","author_url":"https://blog.hatena.ne.jp/xyk/","blog_title":"xyk blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxyk.hatenablog.com%2Fentry%2F2021%2F07%2F15%2F105559\" title=\"Git \u3067\u30d6\u30e9\u30f3\u30c1\u306e\u6d3e\u751f\u5143\u3092\u9593\u9055\u3048\u305f\u3068\u304d\u306b git rebase --onto \u3067\u4fee\u6b63\u3059\u308b - xyk blog\" 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%","published":"2021-07-15 10:55:59","version":"1.0","categories":["git"],"image_url":null,"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","title":"Git \u3067\u30d6\u30e9\u30f3\u30c1\u306e\u6d3e\u751f\u5143\u3092\u9593\u9055\u3048\u305f\u3068\u304d\u306b git rebase --onto \u3067\u4fee\u6b63\u3059\u308b","url":"https://xyk.hatenablog.com/entry/2021/07/15/105559","blog_url":"https://xyk.hatenablog.com/","author_name":"xyk","description":"\u3084\u308b\u305f\u3073\u306b\u8abf\u3079\u3066\u3044\u308b\u306e\u3067\u30e1\u30e2\u3002 $ git rebase --onto (\u65b0\u3057\u3044\u6d3e\u751f\u5143\u30d6\u30e9\u30f3\u30c1\u540d) (\u73fe\u5728\u306e\u6d3e\u751f\u5143\u30d6\u30e9\u30f3\u30c1\u540d) (\u30d6\u30e9\u30f3\u30c1\u540d) \u6d3e\u751f\u5143\u304c\u30d6\u30e9\u30f3\u30c1\u3067\u306a\u3044\u5834\u5408\u306f\u30b3\u30df\u30c3\u30c8ID\u6307\u5b9a\u3067\u3082OK\u3002 \u4f8b: \u9593\u9055\u3048\u3066 develop \u304b\u3089\u4f5c\u6210\u3057\u305f feature/hoge \u30d6\u30e9\u30f3\u30c1\u306e\u6d3e\u751f\u5143\u3092 master \u306b\u5909\u66f4\u3059\u308b $ git rebase --onto master develop feature/hoge \u304a\u307e\u3051\u3067 --onto \u3067\u6307\u5b9a\u5148\u3092\u30df\u30b9\u3063\u3066\u30b3\u30df\u30c3\u30c8\u304c\u898b\u3048\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3063\u305f\u5834\u5408\u306f\u3001reflog \u3067\u6d88\u3048\u305f\u30b3\u30df\u30c3\u30c8\u7fa4\u3092\u63a2\u3057\u3001\u305d\u306e\u672b\u7aef\u306e\u30b3\u30df\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u518d\u5ea6\u30d6\u30e9\u30f3\u30c1\u5316\u3059\u308c\u3070\u3088\u3044\u3002 $ git\u2026","height":"190"}